Skip to content

Instantly share code, notes, and snippets.

@baudehlo
Created November 25, 2014 22:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baudehlo/115e6533667dc6f3685a to your computer and use it in GitHub Desktop.
Save baudehlo/115e6533667dc6f3685a to your computer and use it in GitHub Desktop.
[Unit]
Description=justinp web app
After=syslog.target network.target remote-fs.target nss-lookup.target
[Service]
Type=forking
PIDFile=/var/run/justinp.pid
ExecStart=/usr/bin/node /path/to/your/app
KillMode=process
PrivateTmp=true
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment