blob: 088a3565d8dbf001657bdcd2e0c3123f8dc74aa8 (
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
|
#!/bin/sh
# PROVIDE: smtptrapd
# REQUIRE: LOGIN
# BEFORE: mail
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable smtptrapd:
#
#smtptrapd_enable="YES"
#
# Run smtptrapd -h for flags
#
. /etc/rc.subr
name=smtptrapd
rcvar=smtptrapd_enable
command=%%PREFIX%%/bin/smtptrapd
smtptrapd_enable=${smtptrapd_enable:-"NO"}
smtptrapd_flags=${smtptrapd_flags:-"-c /var/run/smtptrapd-root"}
load_rc_config $name
run_rc_command "$1"
|