X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=12fcad817a7e553346fce045ef0ed4988f466ae1;hb=d6e47dc172f8eb132145e0bdac9c143ac49a2f5c;hp=8724b41cd5ddc38956dbcbef53ec3e4c80ed2eec;hpb=053a0cfd2a5ae02d66dac38c5bc30166a2c64254;p=munin-cn.git diff --git a/debian/postinst b/debian/postinst index 8724b41..12fcad8 100755 --- a/debian/postinst +++ b/debian/postinst @@ -46,7 +46,7 @@ cp_check_and_sed 'localhost.localdomain' \ if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then invoke-rc.d munin-node restart || exit $? else - /etc/init.d/munin-node restart || exit $? + service munin-node restart || exit $? fi # dh_installdeb will replace this with shell code automatically