Semaphore/deployment/systemd/semaphore.service
2022-05-11 13:14:00 +02:00

16 lines
305 B
Desktop File

[Unit]
Description=Ansible Semaphore
Requires=network.target
[Service]
EnvironmentFile=/etc/semaphore/env
ExecStart=/usr/bin/semaphore server --config ${SEMAPHORE_CONFIG}
ExecReload=/bin/kill -HUP $MAINPID
User=semaphore
Group=semaphore
Restart=always
RestartSec=3s
[Install]
WantedBy=multi-user.target