Skip to content

Instantly share code, notes, and snippets.

@pyrmont
Last active August 29, 2015 14:06
Show Gist options
  • Save pyrmont/80ea7be43d72218d9a42 to your computer and use it in GitHub Desktop.
Save pyrmont/80ea7be43d72218d9a42 to your computer and use it in GitHub Desktop.
An example of a systemd service file for Shout.
[Unit]
Description=Node.js process for Shout
[Service]
ExecStart=/usr/bin/shout
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=shout-irc
User=shout-irc
Group=shout-irc
Environment=NODE_ENV=production
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment