summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildbot-worker-test-auditor.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/buildbot-worker-test-auditor.service b/buildbot-worker-test-auditor.service
new file mode 100644
index 0000000..6cb1429
--- /dev/null
+++ b/buildbot-worker-test-auditor.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Buildbot worker service for test-auditor
+AssertPathExists=/home/test-auditor/worker
+
+[Service]
+WorkingDirectory=/home/test-auditor/
+ExecStart=/usr/local/bin/buildbot-worker start --nodaemon worker
+ExecReload=/usr/local/bin/buildbot-worker restart --nodaemon worker
+ExecStop=/usr/local/bin/buildbot-worker stop worker
+Restart=always
+
+[Install]
+WantedBy=default.target