summarylogtreecommitdiffstats
path: root/semaphore.service
blob: 04307ff9abcb63747a8a9973940bb1761d27883b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=Ansible Semaphore
Documentation=https://github.com/ansible-semaphore/semaphore
Documentation=man:semaphore --help
After=network.target syslog.target

[Service]
Type=simple
User=semaphore
Group=semaphore
ExecReload=/bin/kill -HUP $MAINPID
ExecStart=/usr/bin/semaphore service --config=/etc/semaphore/config.json
ExecStop=/bin/kill -s QUIT $MAINPID
SyslogIdentifier=semaphore
Restart=always
RestartSec=3

[Install]
WantedBy=multi-user.target