#!/bin/sh # # $FreeBSD: ports/sysutils/metalog/files/metalog.in,v 1.1 2007/07/14 15:57:01 sat Exp $ # # PROVIDE: metalog # REQUIRE: mountcritremote cleanvar newsyslog ldconfig # BEFORE: SERVERS . /etc/rc.subr name=metalog rcvar=`set_rcvar` pidfile="/var/run/metalog.pid" command="/usr/local/sbin/${name}" command_args="--daemonize" required_files="/usr/local/etc/metalog.conf" load_rc_config $name : ${metalog_enable:="NO"} run_rc_command "$1"