diff options
Diffstat (limited to 'mail/mailfromd/files/mailfromd.in')
-rw-r--r-- | mail/mailfromd/files/mailfromd.in | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mail/mailfromd/files/mailfromd.in b/mail/mailfromd/files/mailfromd.in new file mode 100644 index 000000000000..6307d7995dbd --- /dev/null +++ b/mail/mailfromd/files/mailfromd.in @@ -0,0 +1,24 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: mailfromd +# REQUIRE: DAEMON +# BEFORE: mail +# KEYWORD: shutdown +# + +. /etc/rc.subr + +name="mailfromd" +rcvar=mailfromd_enable +command="%%PREFIX%%/sbin/${name}" + +load_rc_config ${name} + +: ${mailfromd_enable="NO"} +: ${mailfromd_flags} +: ${mailfromd_runpath="%%MFD_RUN_DIR%%"} +pidfile="${mailfromd_runpath}/${name}.pid" + +run_rc_command "$1" |