Skip to content

Instantly share code, notes, and snippets.

@shahzaibalikhan
Forked from JohnProg/myOwnService.conf
Created May 2, 2016 21:17
Show Gist options
  • Save shahzaibalikhan/ecf4128eac7eaa1c65752a06087a1f78 to your computer and use it in GitHub Desktop.
Save shahzaibalikhan/ecf4128eac7eaa1c65752a06087a1f78 to your computer and use it in GitHub Desktop.
upstart
start on runlevel [2345]
stop on runlevel [!2345]
respawn
respawn limit 10 5
setuid ubuntu
chdir /opt/myAplicacion
env PORT=3000
exec npm start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment