blob: 1afabaa23f374b6c97f408261da221ebf692d353 (
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: trafficserver
# REQUIRE: LOGIN
# KEYWORD: shutdown
. /etc/rc.subr
rcvar=trafficserver_enable
name="trafficserver"
trafficserver_enable=${trafficserver_enable:-"NO"}
pidfile="/var/run/trafficserver/traffic_manager.lock"
command=/usr/sbin/daemon
command_args="-p ${pidfile} %%PREFIX%%/bin/traffic_manager"
procname="%%PREFIX%%/bin/traffic_manager"
load_rc_config "$name"
run_rc_command "$1"
|