ansible-role-zuul/templates/etc/systemd/system/zuul-merger.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

14 lines
315 B
Desktop File

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