blob: dc813fc1fe86cbd6e7e6a6dbf169dfefa71f77bf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
# PROVIDE: ocspd
# REQUIRE: NETWORK
. /etc/rc.subr
name=ocspd
rcvar=ocspd_enable
pidfile="/var/run/${name}.pid"
command="%%PREFIX%%/sbin/ocspd"
command_args="-c %%PREFIX%%/etc/ocspd/ocspd.xml -d -v"
load_rc_config ${name}
: ${ocspd_enable:=no}
: ${ocspd_msg="Nothing started."}
run_rc_command "$1"
|