blob: f591bb583f4526603872f535bd52cc93a03e3b09 (
plain)
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
|
#!/bin/sh
# PROVIDE: httpry
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable httpry:
#
# httpry_enable (bool): Set it to "YES" to enable httpry
# Default is "NO".
# httpry_flags (flags): Set extra flags to httpry
# Default is "-d -q -o /var/log/httpry.log".
# See httpry(1) for more information.
#
. /etc/rc.subr
name=httpry
rcvar=httpry_enable
load_rc_config $name
: ${httpry_enable="NO"}
: ${httpry_flags="-d -q -o /var/log/httpry.log"}
command=%%PREFIX%%/bin/httpry
run_rc_command "$1"
|