new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / debian / postinst
index 51a3d12..3e79006 100644 (file)
@@ -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.