Semaphore/deployment/systemd/semaphore.service

18 lines
445 B
SYSTEMD
Raw Normal View History

2018-04-06 22:14:50 +02:00
[Unit]
Description=Ansible Semaphore
Documentation=https://github.com/ansible-semaphore/semaphore
Documentation=man:semaphore --help
2018-04-06 22:14:50 +02:00
Requires=network.target
After=network.target syslog.target
2018-04-06 22:14:50 +02:00
[Service]
User=semaphore
Group=semaphore
ExecStart=/usr/bin/semaphore server --config /home/semaphore/config.json
ExecStop=/bin/kill -s QUIT $MAINPID
ExecReload=/bin/kill -s HUP $MAINPID
2018-04-06 22:14:50 +02:00
Restart=always
RestartSec=3
2018-04-06 22:14:50 +02:00
[Install]
WantedBy=multi-user.target