2008-03-02 21:14:01 +00:00
|
|
|
#!@PREFIX@/sbin/runscript
|
2008-01-11 15:31:10 +00:00
|
|
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
|
|
|
# All rights reserved. Released under the 2-clause BSD license.
|
2007-11-20 15:11:18 +00:00
|
|
|
|
|
|
|
command=/usr/sbin/syslogd
|
2007-11-23 12:04:11 +00:00
|
|
|
command_args=${syslogd_args}
|
2008-01-11 23:49:40 +00:00
|
|
|
case "${RC_UNAME}" in
|
|
|
|
FreeBSD|DragonFly) pidfile=/var/run/syslog.pid;;
|
|
|
|
*) pidfile=/var/run/syslogd.pid;;
|
|
|
|
esac
|
2007-11-20 15:32:32 +00:00
|
|
|
name="System Logger Daemon"
|
2007-11-20 15:11:18 +00:00
|
|
|
|
2008-01-11 12:13:46 +00:00
|
|
|
depend()
|
|
|
|
{
|
2007-11-20 15:11:18 +00:00
|
|
|
provide logger
|
2008-01-15 00:49:53 +00:00
|
|
|
use net newsyslog
|
2007-11-20 15:11:18 +00:00
|
|
|
need localmount
|
2008-01-15 00:49:53 +00:00
|
|
|
after bootmisc
|
2008-03-03 13:18:35 +00:00
|
|
|
keyword noprefix
|
2007-11-20 15:11:18 +00:00
|
|
|
}
|