summaryrefslogtreecommitdiffstats
path: root/sysutils/metalog/files/metalog.in
blob: 4b97c849581227368e8119bf1146fb90bc93c59e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
#
# $FreeBSD$
#

# PROVIDE: metalog
# REQUIRE: mountcritremote cleanvar newsyslog ldconfig
# BEFORE:  SERVERS

. %%RC_SUBR%%

name=metalog
rcvar=`set_rcvar`
pidfile="/var/run/metalog.pid"
command="%%PREFIX%%/sbin/${name}"
command_args="--daemonize"
required_files="%%PREFIX%%/etc/metalog.conf"

load_rc_config $name
: ${metalog_enable:="NO"}
run_rc_command "$1"
OpenPOWER on IntegriCloud