Skip to content

Instantly share code, notes, and snippets.

@flaviut
Last active August 29, 2015 14:09
Show Gist options
  • Save flaviut/9ddfcb94ebe6161b3bc6 to your computer and use it in GitHub Desktop.
Save flaviut/9ddfcb94ebe6161b3bc6 to your computer and use it in GitHub Desktop.
Run buildslave under systemd. Adjust as appropriate.
[Unit]
Description=Buildbot Build Slave
After=default.target
[Service]
Type=forking
User=nim-user
PIDFile=/home/nim-user/nim/twistd.pid
ExecStart=buildslave start /home/nim-user/nim
Restart=always
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment