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