Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 162662 Details for
Bug 234431
app-admin/rsyslog (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/rsyslogd
rsyslogd (text/plain), 1.31 KB, created by
sECuRE
on 2008-08-11 02:00:44 UTC
(
hide
)
Description:
files/rsyslogd
Filename:
MIME Type:
Creator:
sECuRE
Created:
2008-08-11 02:00:44 UTC
Size:
1.31 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.rc6-r1,v 1.7 2007/11/04 08:02:28 mr_bones_ Exp $ > >opts="reload" > >depend() { > # Make networking dependency conditional on configuration > case $(sed 's/#.*//' /etc/syslog-ng/syslog-ng.conf) in > *source*tcp*|*source*udp*|*destination*tcp*|*destination*udp*) > need net > use stunnel ;; > esac > > # kludge for baselayout-1 compatibility > [ -z "${svclib}" ] && config /etc/syslog-ng/syslog-ng.conf > need clock hostname localmount > provide logger >} > >start() { > ebegin "Starting rsyslog" > [ -n "${RSYSLOG_OPTS}" ] && RSYSLOG_OPTS="-- ${RSYSLOG_OPTS}" > start-stop-daemon --start --quiet --exec /usr/sbin/rsyslogd ${RSYSLOG_OPTS} > eend $? "Failed to start rsyslog" >} > >stop() { > ebegin "Stopping rsyslog" > start-stop-daemon --stop --quiet --pidfile /var/run/rsyslogd.pid > eend $? "Failed to stop rsyslog" > sleep 1 # needed for rsyslog to stop in case we're restarting >} > >reload() { > if [ ! -f /var/run/rsyslogd.pid ]; then > eerror "rsyslog isn't running" > return 1 > fi > checkconfig || return 1 > ebegin "Reloading configuration and re-opening log files" > start-stop-daemon --stop --oknodo --signal HUP \ > --pidfile /var/run/rsyslogd.pid > 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 234431
:
162661
| 162662 |
162663