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
This commit is contained in:
parent
75f3478ed1
commit
c9ac766047
5
etc/zuul-executor.service.d/centos.conf
Normal file
5
etc/zuul-executor.service.d/centos.conf
Normal file
@ -0,0 +1,5 @@
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/zuul-executor
|
||||
ExecStop=
|
||||
ExecStop=/usr/bin/zuul-executor stop
|
5
etc/zuul-scheduler.service.d/centos.conf
Normal file
5
etc/zuul-scheduler.service.d/centos.conf
Normal file
@ -0,0 +1,5 @@
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/zuul-scheduler
|
||||
ExecStop=
|
||||
ExecStop=/usr/bin/zuul-scheduler stop
|
3
etc/zuul-web.service.d/centos.conf
Normal file
3
etc/zuul-web.service.d/centos.conf
Normal file
@ -0,0 +1,3 @@
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/zuul-web
|
Loading…
x
Reference in New Issue
Block a user