mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
16 lines
304 B
SYSTEMD
16 lines
304 B
SYSTEMD
|
[Unit]
|
||
|
Description=Semaphore Runner
|
||
|
Requires=network.target
|
||
|
|
||
|
[Service]
|
||
|
EnvironmentFile=/etc/semaphore/env
|
||
|
ExecStart=/usr/bin/semaphore runner --config ${SEMAPHORE_CONFIG}
|
||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||
|
User=semaphore
|
||
|
Group=semaphore
|
||
|
Restart=always
|
||
|
RestartSec=3s
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|