ansible-role-zuul/templates/etc/systemd/system/zuul-fingergw.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
327 B
Desktop File

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