blob: 5b7a7fafa4bd8190d026fcdab1399d1f2832f23e (
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
|
#!/bin/sh
#
# PROVIDE: certmonger
# REQUIRE: dbus
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable Certmonger
#
# dbus_enable=yes
# certmonger_enable=yes
#
. /etc/rc.subr
name=certmonger
rcvar=certmonger_enable
desc="Certificate monitor and PKI enrolment client"
load_rc_config $name
: ${certmonger_enable:=no}
command="%%PREFIX%%/sbin/certmonger"
pidfile=/var/run/certmonger.pid
command_args="-p $pidfile"
run_rc_command $*
|