Skip to content

Instantly share code, notes, and snippets.

@RandomByte
Created September 5, 2016 15:38
Show Gist options
  • Save RandomByte/09dd78cefd0ecb8664db82cbfee3ad90 to your computer and use it in GitHub Desktop.
Save RandomByte/09dd78cefd0ecb8664db82cbfee3ad90 to your computer and use it in GitHub Desktop.
[Service]
ExecStart=/usr/bin/supervisor -q -e json index.js
WorkingDirectory=<working dir>
Restart=always
RestartSec=10
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=<identifier>
User=<user>
Group=<group>
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment