sftpgo/pkgs/scripts/rpm/postremove
Nicola Murino 03bf595525 automatically build deb and rpm Linux packages
The packages are built after each tag/commit

Fixes #176
2020-09-26 14:07:24 +02:00

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