X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=debian%2Fpostinst;h=3e79006b3a4566bf45ab87c2bef37ebe054a959d;hp=51a3d1244c14812d98bd12db5fd6f1776c90031f;hb=HEAD;hpb=7faf709324cb60862a3db68990f3a275edcec184 diff --git a/debian/postinst b/debian/postinst index 51a3d12..3e79006 100644 --- a/debian/postinst +++ b/debian/postinst @@ -137,11 +137,7 @@ fi update-rc.d ossec-hids defaults >/dev/null # and start the service -if [ -x /usr/sbin/invoke-rc.d ]; then - invoke-rc.d ossec-hids restart -else - /etc/init.d/ossec-hids restart -fi +service ossec-hids restart # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts.