systemd service: add ExecReload

This commit is contained in:
Nicola Murino 2020-04-05 11:36:29 +02:00
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