[Pkg-nagios-devel] Bug#360778: nagios2: /etc/init.d/restart does
not start nagios
Jim Jensen
jensen at jensen.dyndns.org
Tue Apr 4 16:50:35 UTC 2006
Package: nagios2
Version: 2.0-1
Severity: normal
using the init scripts to restart nagios stops, but does not then
start nagios. The attached patch fixes the problem:
--- /etc/init.d/nagios2 2006-04-04 10:35:07.783457264 -0400
+++ /etc/init.d/nagios2~ 2006-02-12 05:22:24.000000000 -0500
@@ -181,7 +181,7 @@
restart)
log_daemon_msg "Restarting $DESC" "$NAME"
stop
- if [ -z "$?" -o "$?" == 0 ]; then
+ if [ -z "$?" ]; then
start
fi
log_end_msg $?
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages nagios2 depends on:
ii libc6 2.3.6-3 GNU C Library: Shared libraries an
ii libgd2-noxpm 2.0.33-3 GD Graphics Library version 2 (wit
ii libjpeg62 6b-12 The Independent JPEG Group's JPEG
ii libperl5.8 5.8.8-3 Shared Perl library
ii libpng12-0 1.2.8rel-5 PNG library - runtime
ii nagios2-common 2.0-1 support files for nagios2
ii zlib1g 1:1.2.3-11 compression library - runtime
nagios2 recommends no packages.
-- no debconf information
More information about the Pkg-nagios-devel
mailing list