commit 56c1f5ae843aa8e6363480653c4e350c59deffbc parent fcb17b269af35817782d32cf84f4697d69d4a2d2 Author: ng0 <ng0@n0.is> Date: Wed, 16 Oct 2019 08:42:03 +0000 buildbot-master service Diffstat:
| A | buildbot-master.service | | | 13 | +++++++++++++ |
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/buildbot-master.service b/buildbot-master.service @@ -0,0 +1,13 @@ +# place this in ~/.config/systemd/user/ for a user unit +[Unit] +Description=Buildbot master service +AssertPathExists=/home/buildbot-master/master + +[Service] +WorkingDirectory=/home/buildbot-master/ +ExecStart=/usr/local/bin/buildbot start --nodaemon +ExecReload=/bin/kill -HUP $MAINPID +Restart=always + +[Install] +WantedBy=default.target