+ossec-hids-cn (3.3.0~cn0) stable; urgency=low
+
+  * Izmjene za stretch
+
+ -- Ivan Rako <Ivan.Rako@CARNet.hr>  Mon, 17 Jun 2019 23:35:46 +0200
+
 ossec-hids-cn (2.8.3~cn0) stable; urgency=low
 
   * Izmjene za jessie
 
 Priority: extra
 Maintainer: Ivan Rako <Ivan.Rako@CARNet.hr>
 Build-Depends: debhelper (>= 9.20120909)
-Standards-Version: 3.9.6
+Standards-Version: 3.9.8
 
 Package: ossec-hids-cn
 Architecture: all
-Depends: ossec-hids (>= 2.8.3), carnet-tools-cn (>= 3.0.4), ${misc:Depends}
+Depends: ossec-hids (>= 3.3.0), carnet-tools-cn (>= 3.0.4), ${misc:Depends}
 Priority: extra
 Section: admin
 Description: OSSEC HIDS CARNetization
 
 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.
 
 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.