Skip to content

Commit

Permalink
Merge pull request #956 from anvme/develop
Browse files Browse the repository at this point in the history
Update semaphore.service
  • Loading branch information
fiftin authored Oct 19, 2024
2 parents e6d9db6 + 4261fa6 commit 94f7da8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions deployment/systemd/semaphore.service
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
[Unit]
Documentation=https://github.com/semaphoreui/semaphore
Documentation=man:semaphore --help
Description=Semaphore UI
Requires=network.target
After=network.target syslog.target

[Service]
EnvironmentFile=/etc/semaphore/env
ExecStart=/usr/bin/semaphore server --config ${SEMAPHORE_CONFIG}
ExecReload=/bin/kill -HUP $MAINPID
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
Restart=always
RestartSec=3s
RestartSec=3

[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target

0 comments on commit 94f7da8

Please sign in to comment.