summaryrefslogtreecommitdiff
path: root/install-files/distbuild/usr/lib/systemd/system/morph-worker-helper.service
diff options
context:
space:
mode:
Diffstat (limited to 'install-files/distbuild/usr/lib/systemd/system/morph-worker-helper.service')
-rw-r--r--install-files/distbuild/usr/lib/systemd/system/morph-worker-helper.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/install-files/distbuild/usr/lib/systemd/system/morph-worker-helper.service b/install-files/distbuild/usr/lib/systemd/system/morph-worker-helper.service
new file mode 100644
index 00000000..28400701
--- /dev/null
+++ b/install-files/distbuild/usr/lib/systemd/system/morph-worker-helper.service
@@ -0,0 +1,13 @@
+[Install]
+WantedBy=multi-user.target
+
+[Unit]
+Description=Morph distributed build worker helper
+Requires=morph-worker.service
+After=morph-worker.service
+ConditionPathExists=/etc/morph-worker.conf
+ConditionPathExists=/etc/morph-worker-helper.conf
+
+[Service]
+ExecStart=/usr/bin/distbuild-helper --config /etc/morph-worker-helper.conf
+Restart=always