summaryrefslogtreecommitdiff
path: root/distbuild/usr/lib/systemd/system/morph-cache-server.service
diff options
context:
space:
mode:
Diffstat (limited to 'distbuild/usr/lib/systemd/system/morph-cache-server.service')
-rw-r--r--distbuild/usr/lib/systemd/system/morph-cache-server.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/distbuild/usr/lib/systemd/system/morph-cache-server.service b/distbuild/usr/lib/systemd/system/morph-cache-server.service
new file mode 100644
index 00000000..7ee5e167
--- /dev/null
+++ b/distbuild/usr/lib/systemd/system/morph-cache-server.service
@@ -0,0 +1,9 @@
+[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