summaryrefslogtreecommitdiff
path: root/distbuild/usr/lib/systemd/system/morph-cache-server.service
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-03-17 12:36:15 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2014-03-28 12:33:40 +0000
commitb9764c74420cf95ea751e4d8df6173d94f076a91 (patch)
tree6bb36df534ce84b0a374a5e6f6116a52b0e43862 /distbuild/usr/lib/systemd/system/morph-cache-server.service
parent0ed129b7644d080ddab8447b183e666623563e6b (diff)
downloaddefinitions-b9764c74420cf95ea751e4d8df6173d94f076a91.tar.gz
Import distbuild configuration files into definitions.git
These files should be installed into distbuild worker and controller systems using the install-files configure extension, by adding the following line in the cluster morphology. INSTALL_FILES: distbuild/manifest These files were previously in the internal Codethink chunk repo 'distbuild-setup', and were installed by a Makefile.
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