X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=php5-cn.git;a=blobdiff_plain;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=14b691b10a2194b1747927501fd4a406d1797b0c;hp=5554f5de340d0439e4bdd34d70978f250f2f14fe;hb=8c965cb57aecb3955fc9b22d76449cc2244a4dbb;hpb=11cfc731345934540f3af0e2ff47534baadaef1e diff --git a/debian/postinst b/debian/postinst index 5554f5d..14b691b 100755 --- a/debian/postinst +++ b/debian/postinst @@ -308,9 +308,9 @@ if [ $need_restart -eq 1 ]; then # Restart Apache2 web server. if [ -x "/etc/init.d/apache2" ]; then if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then - invoke-rc.d apache2 force-reload || true + invoke-rc.d apache2 restart || true else - /etc/init.d/apache2 force-reload || true + /etc/init.d/apache2 restart || true fi fi else