Add sample systemd service files.
Also modify the Zuul From Scratch doc to reference these new files in the service installation documents. Depends-On: https://review.openstack.org/560993 Change-Id: Ifa0d1cd48ec5e1ef3358ada55b1b2769f392dfe9
This commit is contained in:
15
etc/zuul-executor.service
Normal file
15
etc/zuul-executor.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Zuul Executor Service
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
Group=zuul
|
||||
User=zuul
|
||||
RuntimeDirectory=zuul
|
||||
ExecStart=/usr/local/bin/zuul-executor
|
||||
ExecStop=/usr/local/bin/zuul-executor stop
|
||||
PIDFile=/var/run/zuul/executor.pid
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
15
etc/zuul-scheduler.service
Normal file
15
etc/zuul-scheduler.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Zuul Scheduler Service
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
Group=zuul
|
||||
User=zuul
|
||||
RuntimeDirectory=zuul
|
||||
ExecStart=/usr/local/bin/zuul-scheduler
|
||||
ExecStop=/usr/local/bin/zuul-scheduler stop
|
||||
PIDFile=/var/run/zuul/scheduler.pid
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
15
etc/zuul-web.service
Normal file
15
etc/zuul-web.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Zuul Web Service
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
Group=zuul
|
||||
User=zuul
|
||||
RuntimeDirectory=zuul
|
||||
ExecStart=/usr/local/bin/zuul-web
|
||||
ExecStop=/usr/local/bin/zuul-web stop
|
||||
PIDFile=/var/run/zuul/web.pid
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user