1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/mail/perdition/files/perdition.pop3s.in
2021-04-06 16:31:13 +02:00

29 lines
520 B
Bash

#!/bin/sh
# PROVIDE: perdition_pop3s
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable perdition.pop3s
#
# perdition_pop3s_enable="YES"
# perdition_pop3s_flags="<set as needed>"
#
# See perdition(8) for flags
#
perdition_pop3s_enable=${perdition_pop3s_enable-"NO"}
. /etc/rc.subr
name="perdition_pop3s"
rcvar=perdition_pop3s_enable
command="%%PREFIX%%/sbin/perdition.pop3s"
pidfile="/var/run/perdition.pop3s/perdition.pop3s.pid"
load_rc_config $name
run_rc_command "$1"