Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 332768 Details for
Bug 447922
net-analyzer/nrpe - init script fails to create /var/run/nrpe
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
improved init script
nrpe.init (text/plain), 732 bytes, created by
Benedikt Böhm (RETIRED)
on 2012-12-20 09:30:48 UTC
(
hide
)
Description:
improved init script
Filename:
MIME Type:
Creator:
Benedikt Böhm (RETIRED)
Created:
2012-12-20 09:30:48 UTC
Size:
732 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2012 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-analyzer/nrpe/files/nrpe.init,v 1.2 2012/10/22 02:35:52 flameeyes Exp $ > >: ${CFGFILE:=/etc/nagios/nrpe.cfg} > >get_config() { > [ -f ${CFGFILE} ] || return 1 > sed -n -e 's:^[ \t]*'$1'=\([^#]\+\).*:\1:p' ${CFGFILE} >} > >extra_started_commands="reload" > >command=/usr/libexec/${SVCNAME} >command_args="-c ${CFGFILE} --daemon" >pidfile=$(get_config pid_file) > >depend() { > config ${CFGFILE} >} > >start_pre() { > checkpath -q -d -m 0750 -o nagios:nagios `dirname ${pidfile}` >} > >reload() { > ebegin "Reloading ${SVCNAME}" > start-stop-daemon --signal HUP --pidfile ${pidfile} > 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 Raw
Actions:
View
Attachments on
bug 447922
: 332768