X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=3e79006b3a4566bf45ab87c2bef37ebe054a959d;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=51a3d1244c14812d98bd12db5fd6f1776c90031f;hpb=927951d1c1ad45ba9e7325f07d996154a91c911b;p=ossec-hids.git 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.