Semaphore/deployment/systemd/semaphore.service

16 lines
300 B
SYSTEMD
Raw Normal View History

2018-04-06 22:14:50 +02:00
[Unit]
Description=Semaphore UI
2018-04-06 22:14:50 +02:00
Requires=network.target
[Service]
EnvironmentFile=/etc/semaphore/env
ExecStart=/usr/bin/semaphore server --config ${SEMAPHORE_CONFIG}
2022-05-11 13:14:00 +02:00
ExecReload=/bin/kill -HUP $MAINPID
2018-04-06 22:14:50 +02:00
User=semaphore
Group=semaphore
Restart=always
RestartSec=3s
[Install]
WantedBy=multi-user.target