Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 327252 Details for
Bug 228973
app-admin/syslog-ng attempts to start before all dependencies
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
syslog-ng
syslog-ng (text/plain), 1.11 KB, created by
William Hubbs
on 2012-10-23 21:31:56 UTC
(
hide
)
Description:
syslog-ng
Filename:
MIME Type:
Creator:
William Hubbs
Created:
2012-10-23 21:31:56 UTC
Size:
1.11 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2011 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.3,v 1.5 2011/12/04 09:53:39 swegener Exp $ > >command="syslog-ng" >command_args="${SYSLOG_NG_OPTS}" >extra_commands="checkconfig" >extra_started_commands="reload" >pidfile=/var/run/syslog-ng.pid > >depend() { > config /etc/syslog-ng/syslog-ng.conf > use clock > need hostname localmount > provide logger >} > >checkconfig() { > if [ ! -e /etc/syslog-ng/syslog-ng.conf ] ; then > eerror "You need to create /etc/syslog-ng/syslog-ng.conf first." > eerror "An example can be found in /etc/syslog-ng/syslog-ng.conf.sample" > return 1 > fi > syslog-ng -s -f /etc/syslog-ng/syslog-ng.conf > rc=$? > > if [ $rc -ne 0 ]; then > eerror "Please fix your config file (/etc/syslog-ng/syslog-ng.conf)" > fi > return $rc >} > >start_pre() { > checkconfig >} > >stop_post() { > [ "$RC_CMD" = restart ] && sleep 1 > return 0 >} > >reload() { > checkconfig || return $? > ebegin "Reloading configuration and re-opening log files" > 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 228973
:
301081
| 327252 |
332524