ansible-role-zuul/templates/etc/systemd/system/zuul-scheduler.service
Paul Belanger 7e2a53bdcd
Remove PREFIX from service files
This was really to work around the need not to template our service
files.  Mostly because I was scared how large and unmanageable they
would become.  Let ansible do its job and remove the hacks we had in
our systemd unit file.

Change-Id: I5ae753d7c2a2d068750bd29400e7b736cc33df39
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-04 20:32:33 -04:00

15 lines
359 B
Desktop File

[Unit]
Description=Zuul Scheduler Service
After=syslog.target network.target
[Service]
Type=simple
Group=zuul
User=zuul
ExecStart={{ zuul_pip_virtualenv | default('/usr/local') }}/bin/zuul-scheduler -d
ExecStop={{ zuul_pip_virtualenv | default('/usr/local') }}/bin/zuul-scheduler stop
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target