Skip to content

Instantly share code, notes, and snippets.

@dmukhg
Last active November 7, 2016 11:08
Show Gist options
  • Save dmukhg/7abb72ba702f76576e7bfdce9a826983 to your computer and use it in GitHub Desktop.
Save dmukhg/7abb72ba702f76576e7bfdce9a826983 to your computer and use it in GitHub Desktop.
BuckyServer SystemD service file
[Unit]
Description=BuckyServer for client metrics RUM
After=network.target
[Service]
PIDFile=/run/bucky-server.pid
User=bucky
WorkingDirectory=/usr/share/bucky-server
ExecStart=/usr/bin/nodejs /usr/share/bucky-server/start.js
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s TERM $MAINPID
PrivateTmp=true
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment