summaryrefslogtreecommitdiff
path: root/install-files/distbuild/usr/lib/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'install-files/distbuild/usr/lib/systemd')
-rw-r--r--install-files/distbuild/usr/lib/systemd/system/distbuild-setup.service16
-rw-r--r--install-files/distbuild/usr/lib/systemd/system/morph-cache-server.service12
-rw-r--r--install-files/distbuild/usr/lib/systemd/system/morph-controller-helper.service13
-rw-r--r--install-files/distbuild/usr/lib/systemd/system/morph-controller.service12
-rw-r--r--install-files/distbuild/usr/lib/systemd/system/morph-worker-helper.service13
-rw-r--r--install-files/distbuild/usr/lib/systemd/system/morph-worker.service13
l---------install-files/distbuild/usr/lib/systemd/system/multi-user.target.wants/distbuild-setup.service1
7 files changed, 0 insertions, 80 deletions
diff --git a/install-files/distbuild/usr/lib/systemd/system/distbuild-setup.service b/install-files/distbuild/usr/lib/systemd/system/distbuild-setup.service
deleted file mode 100644
index ec5f5a2d..00000000
--- a/install-files/distbuild/usr/lib/systemd/system/distbuild-setup.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=Run distbuild-setup Ansible scripts
-Requires=network.target
-After=network.target
-Requires=opensshd.service
-After=opensshd.service
-
-# If there's a shared /var subvolume, it must be mounted before this
-# unit runs.
-Requires=local-fs.target
-After=local-fs.target
-
-ConditionPathExists=/etc/distbuild/distbuild.conf
-
-[Service]
-ExecStart=/usr/bin/ansible-playbook -v -i /usr/lib/distbuild-setup/ansible/hosts /usr/lib/distbuild-setup/ansible/distbuild-setup.yml
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
deleted file mode 100644
index f55f3b6d..00000000
--- a/install-files/distbuild/usr/lib/systemd/system/morph-cache-server.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[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
diff --git a/install-files/distbuild/usr/lib/systemd/system/morph-controller-helper.service b/install-files/distbuild/usr/lib/systemd/system/morph-controller-helper.service
deleted file mode 100644
index 3f30cbcf..00000000
--- a/install-files/distbuild/usr/lib/systemd/system/morph-controller-helper.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Install]
-WantedBy=multi-user.target
-
-[Unit]
-Description=Morph distributed build controller helper
-Requires=morph-controller.service
-After=morph-controller.service
-ConditionPathExists=/etc/morph-controller.conf
-ConditionPathExists=/etc/morph-controller-helper.conf
-
-[Service]
-ExecStart=/usr/bin/distbuild-helper --config /etc/morph-controller-helper.conf
-Restart=always
diff --git a/install-files/distbuild/usr/lib/systemd/system/morph-controller.service b/install-files/distbuild/usr/lib/systemd/system/morph-controller.service
deleted file mode 100644
index 1556d232..00000000
--- a/install-files/distbuild/usr/lib/systemd/system/morph-controller.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[Install]
-WantedBy=multi-user.target
-
-[Unit]
-Description=Morph distributed build controller
-Requires=local-fs.target network.target
-After=local-fs.target network.target
-ConditionPathExists=/etc/morph-controller.conf
-
-[Service]
-ExecStart=/usr/bin/morph controller-daemon --config /etc/morph-controller.conf
-Restart=always
diff --git a/install-files/distbuild/usr/lib/systemd/system/morph-worker-helper.service b/install-files/distbuild/usr/lib/systemd/system/morph-worker-helper.service
deleted file mode 100644
index 28400701..00000000
--- a/install-files/distbuild/usr/lib/systemd/system/morph-worker-helper.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Install]
-WantedBy=multi-user.target
-
-[Unit]
-Description=Morph distributed build worker helper
-Requires=morph-worker.service
-After=morph-worker.service
-ConditionPathExists=/etc/morph-worker.conf
-ConditionPathExists=/etc/morph-worker-helper.conf
-
-[Service]
-ExecStart=/usr/bin/distbuild-helper --config /etc/morph-worker-helper.conf
-Restart=always
diff --git a/install-files/distbuild/usr/lib/systemd/system/morph-worker.service b/install-files/distbuild/usr/lib/systemd/system/morph-worker.service
deleted file mode 100644
index 90fea404..00000000
--- a/install-files/distbuild/usr/lib/systemd/system/morph-worker.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Install]
-WantedBy=multi-user.target
-
-[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
diff --git a/install-files/distbuild/usr/lib/systemd/system/multi-user.target.wants/distbuild-setup.service b/install-files/distbuild/usr/lib/systemd/system/multi-user.target.wants/distbuild-setup.service
deleted file mode 120000
index 8f06febd..00000000
--- a/install-files/distbuild/usr/lib/systemd/system/multi-user.target.wants/distbuild-setup.service
+++ /dev/null
@@ -1 +0,0 @@
-../distbuild-setup.service \ No newline at end of file