systemd service: add ExecReload

This commit is contained in:
Nicola Murino
2020-04-05 11:36:29 +02:00
parent c93d8cecfc
commit fb9e188e36
3 changed files with 1 additions and 4 deletions

View File

@@ -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