mirror of
https://github.com/drakkan/sftpgo.git
synced 2026-03-14 14:25:52 +01:00
systemd service: add ExecReload
This commit is contained in:
parent
c93d8cecfc
commit
fb9e188e36
3 changed files with 1 additions and 4 deletions
|
|
@ -11,6 +11,7 @@ Environment=SFTPGO_CONFIG_DIR=/etc/sftpgo/
|
|||
Environment=SFTPGO_LOG_FILE_PATH=
|
||||
EnvironmentFile=-/etc/sftpgo/sftpgo.env
|
||||
ExecStart=/usr/bin/sftpgo serve
|
||||
ExecReload=/bin/kill -s HUP $MAINPID
|
||||
KillMode=mixed
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue