2008-03-02 21:14:01 +00:00
|
|
|
#!@PREFIX@/sbin/runscript
|
2009-05-01 15:11:40 +01:00
|
|
|
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
|
2011-06-29 19:46:31 -04:00
|
|
|
# Released under the 2-clause BSD license.
|
2007-11-20 15:11:18 +00:00
|
|
|
|
|
|
|
command=/usr/sbin/syslogd
|
2009-04-27 07:51:18 +00:00
|
|
|
command_args=$syslogd_args
|
|
|
|
case "$RC_UNAME" in
|
2008-01-11 23:49:40 +00:00
|
|
|
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
|
2012-07-02 22:04:22 -05:00
|
|
|
keyword -prefix
|
2007-11-20 15:11:18 +00:00
|
|
|
}
|