mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
Update semaphore.service
Normal service file
This commit is contained in:
parent
6a4444b645
commit
af07352703
@ -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
|
Loading…
Reference in New Issue
Block a user