Skip to content

Instantly share code, notes, and snippets.

@jostyee
Last active February 25, 2019 13:34
Show Gist options
  • Save jostyee/325ee86989b02293a242e1b8a9eede99 to your computer and use it in GitHub Desktop.
Save jostyee/325ee86989b02293a242e1b8a9eede99 to your computer and use it in GitHub Desktop.
systemd service file for https://github.com/surge-networks/snell
[Unit]
Description=snell
After=network.target
[Service]
Type=simple
User=nobody
Group=nogroup
LimitNOFILE=32768
Restart=on-failure
RestartSec=5s
Environment='ARGUMENT=/home/yee/snell-server.conf'
ExecStart=/home/yee/snell-server -c $ARGUMENT
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment