summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorFatih Degirmenci <fdegir@gmail.com>2018-04-29 21:50:06 +0200
committerFatih Degirmenci <fdegir@gmail.com>2018-04-29 23:29:39 +0200
commitc9ac76604775d92e2c336c3400f98e86b97fbd3a (patch)
tree1bf503c2fde02e08b6cbf080ddd00ffb64776189 /etc
parent75f3478ed1efb9aff55cd6316a79ce4b9d744746 (diff)
downloadzuul-c9ac76604775d92e2c336c3400f98e86b97fbd3a.tar.gz
Add zuul systemd drop-in files for CentOS 7
The existing service files are for Fedora27 and it does not work on CentOS 7 since pip installs zuul-executor, zuul-scheduler, and zuul-web in /usr/bin on CentOS 7. This change adds the systemd drop-in files for this distro so ExecStart and ExecStop commands are overriden by systemd based on where zuul componenst are installed. This change is needed in order to have complete installation instructions for Centos7 in zuul-from-scratch document. Change-Id: Ib9766ba2a825486f05464be6a85968b5158e2e34
Diffstat (limited to 'etc')
-rw-r--r--etc/zuul-executor.service.d/centos.conf5
-rw-r--r--etc/zuul-scheduler.service.d/centos.conf5
-rw-r--r--etc/zuul-web.service.d/centos.conf3
3 files changed, 13 insertions, 0 deletions
diff --git a/etc/zuul-executor.service.d/centos.conf b/etc/zuul-executor.service.d/centos.conf
new file mode 100644
index 000000000..3e91bba75
--- /dev/null
+++ b/etc/zuul-executor.service.d/centos.conf
@@ -0,0 +1,5 @@
+[Service]
+ExecStart=
+ExecStart=/usr/bin/zuul-executor
+ExecStop=
+ExecStop=/usr/bin/zuul-executor stop
diff --git a/etc/zuul-scheduler.service.d/centos.conf b/etc/zuul-scheduler.service.d/centos.conf
new file mode 100644
index 000000000..11f0fbcf4
--- /dev/null
+++ b/etc/zuul-scheduler.service.d/centos.conf
@@ -0,0 +1,5 @@
+[Service]
+ExecStart=
+ExecStart=/usr/bin/zuul-scheduler
+ExecStop=
+ExecStop=/usr/bin/zuul-scheduler stop
diff --git a/etc/zuul-web.service.d/centos.conf b/etc/zuul-web.service.d/centos.conf
new file mode 100644
index 000000000..047296cb3
--- /dev/null
+++ b/etc/zuul-web.service.d/centos.conf
@@ -0,0 +1,3 @@
+[Service]
+ExecStart=
+ExecStart=/usr/bin/zuul-web