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