X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=12fcad817a7e553346fce045ef0ed4988f466ae1;hb=HEAD;hp=456919ac1a3a1e086b321b3462935c76839c2d66;hpb=1ec33625fe662e96ea0ca158b899e49117b4e39f;p=munin-cn.git diff --git a/debian/postinst b/debian/postinst index 456919a..12fcad8 100755 --- a/debian/postinst +++ b/debian/postinst @@ -1,5 +1,5 @@ #!/bin/sh -# postinst script for bind9-cn +# postinst script for munin-cn # # see: dh_installdeb(1) @@ -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