Update semaphore.service

Normal service file
This commit is contained in:
anvme 2022-06-07 23:42:08 +03:00
parent 6a4444b645
commit af07352703

View File

@ -1,14 +1,18 @@
[Unit]
Description=Ansible Semaphore
Documentation=https://github.com/ansible-semaphore/semaphore
Documentation=man:semaphore --help
Requires=network.target
After=network.target syslog.target
[Service]
EnvironmentFile=/etc/semaphore/env
ExecStart=/usr/bin/semaphore server --config ${SEMAPHORE_CONFIG}
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
Restart=always
RestartSec=3s
RestartSec=3
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target