You have been subscribed to a public bug:

$ pidof nagios2
29114
$ sudo /etc/init.d/nagios2 reload
 * Reloading nagios2 monitoring daemon configuration files nagios2       [ OK ] 
$ pidof nagios2
$ tail /var/log/nagios2/nagios.log
[1217275349] Nagios 2.11 starting... (PID=29112)
[1217275349] LOG VERSION: 2.0
[1217275349] Finished daemonizing... (New PID=29114)
[1217275378] Caught SIGTERM, shutting down...
[1217275378] Successfully shutdown... (PID=29114)

It looks like the init script is using "killproc ... 1" from /lib/lsb
/init-functions which ends up calling "start-stop-daemon --stop ..."

Manually running "kill -1 $(pidof nagios2)" successfully causes nagios
to reload it's configuration files.

** Affects: nagios2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Reload action on init script kills daemon
https://bugs.edge.launchpad.net/bugs/252686
You received this bug notification because you are a member of Ubuntu Server 
Team, which is subscribed to nagios2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to