Restart some services after removing AlternC (.conf files have been replaced)
This commit is contained in:
parent
f2349194e6
commit
73d3d94345
|
@ -65,6 +65,11 @@ case "$1" in
|
|||
BACKUP=$(ls /var/backups/alternc/etc-original*.tar.gz | head -n 1)
|
||||
tar -C / -xf "$BACKUP" 2>/dev/null || true
|
||||
|
||||
# Reload services which use these files
|
||||
for service in bind9 postfix proftpd dovecot apache2; do
|
||||
invoke-rc.d $service force-reload || true
|
||||
done
|
||||
|
||||
;;
|
||||
remove|upgrade|failed-upgrade|abort-install|abort-upgrade)
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue