Skip to content

Instantly share code, notes, and snippets.

@ArthurGuy
Created February 10, 2017 18:51
Show Gist options
  • Save ArthurGuy/946b87d8f5132584ca3ce50661661516 to your computer and use it in GitHub Desktop.
Save ArthurGuy/946b87d8f5132584ca3ce50661661516 to your computer and use it in GitHub Desktop.
Raspberry Pi - Start on Boot

File: /etc/rc.local

Execute command such as

  cd /home/pi/app/;
  git pull;
  node /home/pi/app/app.js > /dev/null &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment