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
2007-12-19 18:16:45 +05:30
use net
2007-11-20 20:41:18 +05:30
need localmount
2007-12-05 22:01:23 +05:30
after bootmisc newsyslog
2007-11-20 20:41:18 +05:30
}