mirror of
https://github.com/drakkan/sftpgo.git
synced 2026-03-16 15:25:52 +01:00
5 lines
175 B
Text
5 lines
175 B
Text
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
if [ $1 -ge 1 ]; then
|
|
# Package upgrade, not uninstall
|
|
/bin/systemctl try-restart sftpgo.service >/dev/null 2>&1 || :
|
|
fi
|