#!/bin/sh # # $FreeBSD: ports/mail/perdition/files/perdition.imap4.in,v 1.1 2007/12/11 22:15:36 delphij Exp $ # # PROVIDE: perdition_imap4 # REQUIRE: DAEMON # KEYWORD: shutdown # # Add the following line to /etc/rc.conf to enable perdition.imap4 # # perdition_imap4_enable="YES" # # See perdition(8) for flags # perdition_imap4_enable=${perdition_imap4_enable-"NO"} perdition_imap4_flags=${perditon_imap4_flags-""} . /etc/rc.subr name="perdition_imap4" rcvar=`set_rcvar` command="/usr/local/sbin/perdition.imap4" pidfile="/var/run/perdition.imap4/perdition.imap4.pid" load_rc_config $name run_rc_command "$1"