summaryrefslogtreecommitdiff
path: root/mail/policyd2/files/policyd2.in
blob: a6b3bbc3011c1fc589eb84b8ec43f290a04d5c16 (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
#!/bin/sh

# Start or stop policyd2

# PROVIDE: policyd2
# KEYWORD: shutdown
#
# Define these policyd2_* variables in one of these files:
#       /etc/rc.conf
#       /etc/rc.conf.local
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#

. /etc/rc.subr

name="policyd2"
rcvar=policyd2_enable

command="%%LOCALBASE%%/bin/cbpolicyd"
command_interpreter="%%LOCALBASE%%/bin/perl"

load_rc_config $name

: ${policyd2_enable="NO"}

run_rc_command "$1"