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