Debian: Add postinst restart hook
This commit is contained in:
parent
293b30ba59
commit
afd4710c44
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue