blob: 1cee5009d9c4f7b4e6e61af33e9a2222a2fa0f48 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
# $FreeBSD$
#
# PROVIDE: nullmailer
# REQUIRE: DAEMON
# KEYWORD: FreeBSD
#
# Add the following line to /etc/rc.conf to enable nullmailer:
#
# nullmailer_enable="YES"
#
. %%RC_SUBR%%
name=nullmailer
rcvar=`set_rcvar`
nullmailer_user=nullmail
command=%%PREFIX%%/sbin/nullmailer-send
command_args=" 2>&1 | /usr/bin/logger -i -p local5.info -t nullmail &"
load_rc_config $name
run_rc_command "$1"
|