mirror of
https://github.com/mikedilger/chorus.git
synced 2026-05-03 06:51:42 +00:00
Update systemd config files with ExecRestart
This commit is contained in:
parent
54bb5450f6
commit
e0d0a63066
@ -13,6 +13,7 @@ ExecStartPre=+cp -H /etc/letsencrypt/live/chorus.example.com/fullchain.pem /opt/
|
||||
ExecStartPre=+cp -H /etc/letsencrypt/live/chorus.example.com/privkey.pem /opt/chorus/etc/tls/
|
||||
ExecStartPre=+chown chorus /opt/chorus/etc/tls/fullchain.pem /opt/chorus/etc/tls/privkey.pem
|
||||
ExecStart=/opt/chorus/sbin/chorus /opt/chorus/etc/chorus.toml
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
|
||||
@ -9,6 +9,7 @@ Environment="RUST_LOG=info"
|
||||
WorkingDirectory=/opt/chorus
|
||||
User=chorus
|
||||
ExecStart=/opt/chorus/sbin/chorus /opt/chorus/etc/chorus.toml
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user