summaryrefslogtreecommitdiff
blob: b0eb291e40b3779a46b1f54d115de140d0cffd56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/files/syslogd.initd,v 1.2 2006/10/03 14:43:39 uberlord Exp $

depend() {
	provide logger
	need localmount
}

start() {
	ebegin $"Starting System Logger"
	start-stop-daemon --start --quiet --exec /usr/sbin/syslogd \
		-- ${SYSLOGD_OPTS}
	eend $?
}

stop() {
       ebegin $"Stopping System Logger"
       start-stop-daemon --stop --quiet --pidfile /var/run/syslog.pid
       eend $?
}