diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2012-02-13 11:12:03 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2012-02-13 11:12:03 +0000 |
commit | 59de3d8bda56d666d59dadba7c41e1f82dbbd5e1 (patch) | |
tree | d991edbfe93413eef0ce0df5d5f04e6779f787fc | |
parent | 340979717bf5b233e07431d3b7e4599e98b23fe0 (diff) | |
download | sitesummary-59de3d8bda56d666d59dadba7c41e1f82dbbd5e1.tar.gz sitesummary-59de3d8bda56d666d59dadba7c41e1f82dbbd5e1.tar.bz2 sitesummary-59de3d8bda56d666d59dadba7c41e1f82dbbd5e1.tar.xz |
Make sure to restart nagios-nrpe-server when sitesummary-client is upgraded, to tell it to discover any new NRPE rules.
-rw-r--r-- | debian/changelog | 10 | ||||
-rw-r--r-- | debian/sitesummary-client.postinst | 5 |
2 files changed, 11 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog index 9b6f267..83a5a64 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,12 @@ -sitesummary (0.1.3~olp+2) lenny; urgency=low +sitesummary (0.1.3) UNRELEASED; urgency=low - * Change temp file name created by nagios-plugins check_cups_queue to - include host name being checked, to make it easier to figure out why - some of the temp files are left behind. + * Change temp file name created by nagios-plugins check_cups_queue + to include host name being checked, to make it easier to figure + out why some of the temp files are left behind. * Reintroduce DHCP server check, only checking if the process runs this time. Check for dhcpd3 on Lenny and dhcpd on Squeeze++. + * Make sure to restart nagios-nrpe-server when sitesummary-client is + upgraded, to tell it to discover any new NRPE rules. -- Petter Reinholdtsen <pere@debian.org> Mon, 13 Feb 2012 11:04:46 +0100 diff --git a/debian/sitesummary-client.postinst b/debian/sitesummary-client.postinst index 0ad7cc0..55614c5 100644 --- a/debian/sitesummary-client.postinst +++ b/debian/sitesummary-client.postinst @@ -104,4 +104,9 @@ then rm -f /etc/cron.d/sitesummary-client fi +# Make sure changes to the NRPE configuration take effect right away +if [ -x /etc/init.d/nagios-nrpe-server ] ; then + invoke-rc.d nagios-nrpe-server restart +fi + #DEBHELPER# |