Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 16308
Collapse All | Expand All

(-)._cfg0000_syslog-ng (+8 lines)
Lines 3-8 Link Here
3
# Distributed under the terms of the GNU General Public License, v2 or later
3
# Distributed under the terms of the GNU General Public License, v2 or later
4
# $Header: /home/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.rc6,v 1.9 2003/02/14 22:34:56 vapier Exp $
4
# $Header: /home/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.rc6,v 1.9 2003/02/14 22:34:56 vapier Exp $
5
5
6
opts="depend checkconfig start stop reload"
7
6
depend() {
8
depend() {
7
	need clock hostname
9
	need clock hostname
8
	provide logger
10
	provide logger
Lines 29-31 Link Here
29
    eend $? "Failed to stop syslog-ng"
31
    eend $? "Failed to stop syslog-ng"
30
    sleep 1 # needed for syslog-ng to stop in case we're restarting
32
    sleep 1 # needed for syslog-ng to stop in case we're restarting
31
}
33
}
34
35
reload(){
36
	ebegin "Reloading configuration and re-opening log files"
37
	kill -HUP `cat /var/run/syslog-ng.pid` &>/dev/null
38
	eend $?
39
}

Return to bug 16308