Browse Source

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
changes/74/565074/2
Fatih Degirmenci 3 years ago
parent
commit
c9ac766047
3 changed files with 13 additions and 0 deletions
  1. +5
    -0
      etc/zuul-executor.service.d/centos.conf
  2. +5
    -0
      etc/zuul-scheduler.service.d/centos.conf
  3. +3
    -0
      etc/zuul-web.service.d/centos.conf

+ 5
- 0
etc/zuul-executor.service.d/centos.conf View File

@ -0,0 +1,5 @@
[Service]
ExecStart=
ExecStart=/usr/bin/zuul-executor
ExecStop=
ExecStop=/usr/bin/zuul-executor stop

+ 5
- 0
etc/zuul-scheduler.service.d/centos.conf View File

@ -0,0 +1,5 @@
[Service]
ExecStart=
ExecStart=/usr/bin/zuul-scheduler
ExecStop=
ExecStop=/usr/bin/zuul-scheduler stop

+ 3
- 0
etc/zuul-web.service.d/centos.conf View File

@ -0,0 +1,3 @@
[Service]
ExecStart=
ExecStart=/usr/bin/zuul-web

Loading…
Cancel
Save