Debian: Add postinst restart hook

This commit is contained in:
s3lph 2019-11-18 21:37:20 +01:00
parent 293b30ba59
commit afd4710c44

View file

@ -17,4 +17,9 @@ if [[ "$1" == "configure" ]]; then
systemctl daemon-reload || true systemctl daemon-reload || true
if [[ "$2" != "" ]]; then
# Restart after upgrading the package
systemctl restart icalendar-timeseries-server.service
fi
fi fi