openrc/init.d.BSD/syslogd

20 lines
415 B
Plaintext
Raw Normal View History

2007-11-20 20:41:18 +05:30
#!/sbin/runscript
# 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
command_args=${syslogd_args}
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
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
}