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