openrc/init.d/syslogd.in

21 lines
440 B
Plaintext
Raw Normal View History

#!@PREFIX@/sbin/runscript
2009-05-01 19:41:40 +05:30
# Copyright (c) 2007-2009 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
2009-04-27 13:21:18 +05:30
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
keyword -prefix
2007-11-20 20:41:18 +05:30
}