ansible-role-zuul/templates/etc/systemd/system/zuul-executor.service
Paul Belanger 83d425bdb3
Switch to template for zuul service files
We do this for ansible-role-nodepool, we might as well do it here.

Change-Id: I1976f05ec1ec6fdb69e255297dfa64ab00330e7c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-04 20:27:49 -04:00

15 lines
299 B
Desktop File

[Unit]
Description=Zuul Executor Service
After=syslog.target network.target
[Service]
Type=simple
Environment="PREFIX=/usr/local"
Group=zuul
User=zuul
ExecStart=/bin/sh -c "${PREFIX}/bin/zuul-executor -d"
ExecStop=/bin/sh -c "${PREFIX}/bin/zuul-executor stop"
[Install]
WantedBy=multi-user.target