projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
51a3d12
..
3e79006
100644
(file)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-137,11
+137,7
@@
fi
update-rc.d ossec-hids defaults >/dev/null
# and start the service
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.
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.