2018-04-06 22:14:50 +02:00
|
|
|
[Unit]
|
2024-10-19 20:49:19 +02:00
|
|
|
Documentation=https://github.com/semaphoreui/semaphore
|
2022-06-07 22:42:08 +02:00
|
|
|
Documentation=man:semaphore --help
|
2024-06-12 21:53:00 +02:00
|
|
|
Description=Semaphore UI
|
2018-04-06 22:14:50 +02:00
|
|
|
Requires=network.target
|
2022-06-07 22:42:08 +02:00
|
|
|
After=network.target syslog.target
|
2018-04-06 22:14:50 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
EnvironmentFile=/etc/semaphore/env
|
|
|
|
User=semaphore
|
|
|
|
Group=semaphore
|
2022-06-07 22:42:08 +02:00
|
|
|
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
|
2022-06-07 22:42:08 +02:00
|
|
|
RestartSec=3
|
2018-04-06 22:14:50 +02:00
|
|
|
|
|
|
|
[Install]
|
2022-06-07 22:42:08 +02:00
|
|
|
WantedBy=multi-user.target
|