Izmjene za stretch
[ossec-hids-cn.git] / debian / postrm
index 0d67070..ff332bf 100755 (executable)
@@ -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.