Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 294525 Details for
Bug 392929
net-analyzer/nagios-core-3.3.1: deprecated options in init script
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Avoid deprecated options, use s-s-d for reload
nagios-init.patch (text/plain), 1.03 KB, created by
Michael Palimaka (kensington)
on 2011-12-02 15:49:01 UTC
(
hide
)
Description:
Avoid deprecated options, use s-s-d for reload
Filename:
MIME Type:
Creator:
Michael Palimaka (kensington)
Created:
2011-12-02 15:49:01 UTC
Size:
1.03 KB
patch
obsolete
>--- nagios >+++ nagios >@@ -1,9 +1,10 @@ > #!/sbin/runscript >-# Copyright 1999-2004 Gentoo Foundation >+# Copyright 1999-2011 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-core/files/nagios3,v 1.1 2008/04/27 18:41:25 dertobi123 Exp $ > >-opts="${opts} reload checkconfig" >+extra_commands="checkconfig" >+extra_started_commands="reload" > > depend() { > need net >@@ -15,7 +16,7 @@ > { > checkconfig || return 1 > ebegin "Reloading configuration" >- killall -HUP nagios &>/dev/null >+ start-stop-daemon --signal HUP --pidfile /var/nagios/nagios.lock > eend $? > } > >@@ -34,7 +35,7 @@ > touch /var/nagios/nagios.log /var/nagios/status.sav > chown nagios:nagios /var/nagios/nagios.log /var/nagios/status.sav > rm -f /var/nagios/rw/nagios.cmd >- start-stop-daemon --quiet --start --startas /usr/sbin/nagios \ >+ start-stop-daemon --quiet --start --exec /usr/sbin/nagios \ > -e HOME="/var/nagios/home" --pidfile /var/nagios/nagios.lock \ > -- -d /etc/nagios/nagios.cfg > eend $?
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 392929
: 294525