projects
/
mirror
/
dsa-nagios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ peter@palfrader.org-20080414145738-5uyuj51i4uzcz4no]
[mirror/dsa-nagios.git]
/
dsa-nagios-nrpe-config
/
debian
/
postinst
diff --git
a/dsa-nagios-nrpe-config/debian/postinst
b/dsa-nagios-nrpe-config/debian/postinst
index
e96fdbf
..
a90e03e
100644
(file)
--- a/
dsa-nagios-nrpe-config/debian/postinst
+++ b/
dsa-nagios-nrpe-config/debian/postinst
@@
-38,6
+38,14
@@
if [ -e /etc/default/nagios-nrpe-server ] ; then
fi
fi
+
+
+if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+ invoke-rc.d nagios-nrpe-server restart || exit $?
+else
+ /etc/init.d/nagios-nrpe-server restart || exit $?
+fi
+
#DEBHELPER#
exit 0