zuul/etc/zuul-scheduler.service
Paul Belanger 724ffa0b15
Fix zuul systemd files
Our current systemd unit files do not work with type=forking, it does
work with type=simple. This also means we can drop the PIDFile, as it
is only used by forking.

Change-Id: Ia9a2e54b91e9b2430c612b2edfa07077f7248539
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-27 18:27:24 -04:00

15 lines
265 B
Desktop File

[Unit]
Description=Zuul Scheduler Service
After=syslog.target network.target
[Service]
Type=simple
Group=zuul
User=zuul
RuntimeDirectory=zuul
ExecStart=/usr/local/bin/zuul-scheduler
ExecStop=/usr/local/bin/zuul-scheduler stop
[Install]
WantedBy=multi-user.target