From 59de3d8bda56d666d59dadba7c41e1f82dbbd5e1 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Mon, 13 Feb 2012 11:12:03 +0000 Subject: Make sure to restart nagios-nrpe-server when sitesummary-client is upgraded, to tell it to discover any new NRPE rules. --- debian/changelog | 10 ++++++---- 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 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# -- cgit v1.2.3