X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids-cn.git;a=blobdiff_plain;f=debian%2Fpostrm;h=ff332bf149a1ac09b037d5147c2cd518c6a8b3e0;hp=0d67070fe93fa5bdd1fbc3bb5c13e40faba1e7bd;hb=HEAD;hpb=deede5811b53602f7d5f6fe6393d025502efc7b6 diff --git a/debian/postrm b/debian/postrm index 0d67070..ff332bf 100755 --- a/debian/postrm +++ b/debian/postrm @@ -46,13 +46,7 @@ if [ -e "$local_rules" ]; then fi # and start the service -if [ -x /etc/init.d/ossec-hids ]; then - if [ -x /usr/sbin/invoke-rc.d ]; then - invoke-rc.d ossec-hids restart || true - else - /etc/init.d/ossec-hids restart || true - fi -fi +service ossec-hids restart || true # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts.