From dfb79081b1624dc9c019b02468e59c0fd10e6330 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Mon, 17 Mar 2014 12:36:15 +0000 Subject: 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. --- distbuild/usr/lib/systemd/system/morph-worker.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 distbuild/usr/lib/systemd/system/morph-worker.service (limited to 'distbuild/usr/lib/systemd/system/morph-worker.service') diff --git a/distbuild/usr/lib/systemd/system/morph-worker.service b/distbuild/usr/lib/systemd/system/morph-worker.service new file mode 100644 index 00000000..26dcb9ad --- /dev/null +++ b/distbuild/usr/lib/systemd/system/morph-worker.service @@ -0,0 +1,10 @@ +[Unit] +Description=Morph distributed build worker +Requires=local-fs.target network.target +Wants=srv-distbuild-ccache.mount +After=local-fs.target network.target srv-distbuild-ccache.mount +ConditionPathExists=/etc/morph-worker.conf + +[Service] +ExecStart=/usr/bin/morph worker-daemon --config /etc/morph-worker.conf +Restart=always -- cgit v1.2.1