Skip to content

Instantly share code, notes, and snippets.

@samyok
Created September 6, 2018 19:54
Show Gist options
  • Save samyok/ea81b47a3076470feac6f79d823ef1e9 to your computer and use it in GitHub Desktop.
Save samyok/ea81b47a3076470feac6f79d823ef1e9 to your computer and use it in GitHub Desktop.
[Unit]
Description=QBBuzzer
[Service]
ExecStart=/home/meredith/qbbuzzer/index.js
Restart=always
User=nogroup
# Note Debian/Ubuntu uses 'nogroup', RHEL/Fedora uses 'nobody'
Group=nogroup
Environment=PATH=/usr/bin:/usr/local/bin
Environment=NODE_ENV=production
WorkingDirectory=/home/meredith/qbbuzzer/
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment