summaryrefslogtreecommitdiff
path: root/systemd-services/buildbot-worker-buildmaster.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd-services/buildbot-worker-buildmaster.service')
-rw-r--r--systemd-services/buildbot-worker-buildmaster.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd-services/buildbot-worker-buildmaster.service b/systemd-services/buildbot-worker-buildmaster.service
new file mode 100644
index 0000000..7d66ac2
--- /dev/null
+++ b/systemd-services/buildbot-worker-buildmaster.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Buildbot buildmaster worker
+AssertPathExists=/home/buildbot-master/worker
+
+[Service]
+WorkingDirectory=/home/buildbot-master/worker
+ExecStart=/usr/local/bin/buildbot start --nodaemon master
+ExecReload=/usr/local/bin/buildbot sighup master
+ExecStop=/usr/local/bin/buildbot stop master
+Restart=always
+
+[Install]
+WantedBy=default.target