ansible-role-zuul/files/etc/systemd/system/zuul-scheduler.service

16 lines
337 B
Desktop File

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