summaryrefslogtreecommitdiff
path: root/distbuild/usr/lib/systemd/system/morph-cache-server.service
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2014-03-28 18:55:51 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2014-03-28 18:55:51 +0000
commit55ee21e666d9f1a135ef8d9d61fe9585b0bf5b91 (patch)
treee5867d486d042859ecd31466915861cd6649ee35 /distbuild/usr/lib/systemd/system/morph-cache-server.service
parent4cebd8c5b2e73f5f22d2af5ddf3542d6c57bcc6f (diff)
parent84cb06607e2530757e8ab545b10de5fae3b6862a (diff)
downloaddefinitions-55ee21e666d9f1a135ef8d9d61fe9585b0bf5b91.tar.gz
Merge branch 'baserock/richardipsum/distbuild-with-setup2'
Reviewed by: Lars Wirzenius
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