blob: 816af2e7959a42bc6a0490355378072691e72d38 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: tiarra
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
prefix=%%PREFIX%%
name="tiarra"
tiarra_enable=${tiarra_enable:-"NO"}
tiarra_flags=${tiarra_flags:-"--quiet"}
tiarra_user=${tiarra_user:-"%%TIARRA_USER%%"}
tiarra_chdir=${tiarra_chdir:-"${prefix}/${name}"}
. %%RC_SUBR%%
rcvar=`set_rcvar`
load_rc_config $name
command="${tiarra_chdir}/${name}"
command_interpreter="/usr/bin/perl"
required_dirs="${tiarra_chdir}"
required_files="${tiarra_chdir}/${name}.conf"
extra_commands="reload"
run_rc_command "$1"
|