X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids-cn.git;a=blobdiff_plain;f=debian%2Fpostinst;h=801d23fd566fcb322188afbc6e49621614099a02;hp=aea8ce2d392f345beba97a638848eef7b5d94859;hb=HEAD;hpb=deede5811b53602f7d5f6fe6393d025502efc7b6 diff --git a/debian/postinst b/debian/postinst index aea8ce2..801d23f 100755 --- a/debian/postinst +++ b/debian/postinst @@ -116,13 +116,7 @@ EOF cp_mv "$local_rules.$$" "$local_rules" # and restart 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.