c79e40cc91
- Remove unnecessary sig_stop=-KILL in rc.d script - Bump PORTREVISION PR: 93480 Submitted by: mnag, thierry [1] Approved by: maintainer
31 lines
606 B
Bash
31 lines
606 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
# PROVIDE: proxsmtpd
|
|
# REQUIRE: DAEMON
|
|
#
|
|
# Add the fellowing line to /etc/rc.conf to enable proxsmtpd:
|
|
#
|
|
# proxsmtpd_enable (bool): Set to "YES" to enable proxsmtpd.
|
|
# Default is "NO".
|
|
# proxsmtpd_conf (file): Set location of proxsmtpd.conf.
|
|
# Default is "%%PREFIX%%/etc/proxsmtpd.conf"
|
|
#
|
|
|
|
. %%RC_SUBR%%
|
|
|
|
name="proxsmtpd"
|
|
rcvar=${name}_enable
|
|
|
|
load_rc_config ${name}
|
|
|
|
: ${proxsmtpd_enable="NO"}
|
|
: ${proxsmtpd_conf="%%PREFIX%%/etc/proxsmtpd.conf"}
|
|
|
|
required_files="${proxsmtpd_conf}"
|
|
command=%%PREFIX%%/sbin/proxsmtpd
|
|
command_args="-f ${proxsmtpd_conf}"
|
|
|
|
run_rc_command "$1"
|