summaryrefslogtreecommitdiff
blob: 0cb314e5079116cef88542c7630f8a76840b7cc8 (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.3 2007/02/23 14:03:08 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 $?
}