Semaphore/deployment/systemd/semaphore.service

19 lines
469 B
SYSTEMD
Raw Permalink Normal View History

2018-04-06 22:14:50 +02:00
[Unit]
2024-10-19 20:49:19 +02:00
Documentation=https://github.com/semaphoreui/semaphore
Documentation=man:semaphore --help
Description=Semaphore UI
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]
EnvironmentFile=/etc/semaphore/env
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