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:
David Shrewsbury
2018-04-04 10:00:57 -04:00
parent b82e3c34bf
commit bd16925421
7 changed files with 96 additions and 132 deletions

View 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