projects
/
fail2ban-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prva verzija za jessie
[fail2ban-cn.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
4adc7bc
..
cbd1e67
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-51,11
+51,7
@@
if [ -e "$CONF" ]; then
fi
# restart the services
fi
# restart the services
-if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
- invoke-rc.d fail2ban restart || exit $?
-else
- /etc/init.d/fail2ban restart || exit $?
-fi
+service fail2ban restart || exit $?
# 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.