summaryrefslogtreecommitdiff
path: root/mail/postfix25/files/postfix.sh.in
diff options
context:
space:
mode:
authorSahil Tandon <sahil@FreeBSD.org>2012-07-07 20:08:05 +0000
committerSahil Tandon <sahil@FreeBSD.org>2012-07-07 20:08:05 +0000
commite6f8802ffd57af87a84ebbe2d3819a1ae76e60f8 (patch)
treec677d5398f2812bc0f0dc93b6e84a37047d2792b /mail/postfix25/files/postfix.sh.in
parent- Use @dirrmtry. (diff)
Remove expired port:
2012-07-07 mail/postfix25: no further upstream development; please consider upgrading
Diffstat (limited to 'mail/postfix25/files/postfix.sh.in')
-rw-r--r--mail/postfix25/files/postfix.sh.in47
1 files changed, 0 insertions, 47 deletions
diff --git a/mail/postfix25/files/postfix.sh.in b/mail/postfix25/files/postfix.sh.in
deleted file mode 100644
index 74956f6a02d1..000000000000
--- a/mail/postfix25/files/postfix.sh.in
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# PROVIDE: postfix mail
-# REQUIRE: %%REQUIRE%%
-# KEYWORD: shutdown
-#
-# Add the following lines to /etc/rc.conf to enable postfix:
-# postfix_enable (bool): Set it to "YES" to enable postfix.
-# Default is "NO".
-# postfix_pidfile (path): Set full path to master.pid.
-# Default is "/var/spool/postfix/pid/master.pid".
-# postfix_procname (command): Set command that start master. Used to verify if
-# postfix is running.
-# Default is "%%PREFIX%%/libexec/postfix/master".
-# postfix_flags (str): Flags passed to postfix-script on startup.
-# Default is "".
-#
-
-. /etc/rc.subr
-
-name="postfix"
-rcvar=postfix_enable
-
-load_rc_config $name
-
-: ${postfix_enable="NO"}
-: ${postfix_pidfile="/var/spool/postfix/pid/master.pid"}
-: ${postfix_procname="%%PREFIX%%/libexec/postfix/master"}
-
-start_cmd=${name}_start
-stop_cmd=${name}_stop
-extra_commands="reload"
-
-pidfile=${postfix_pidfile}
-procname=${postfix_procname}
-
-postfix_start() {
- %%PREFIX%%/sbin/postfix ${postfix_flags} start
-}
-
-postfix_stop() {
- %%PREFIX%%/sbin/postfix ${postfix_flags} stop
-}
-
-run_rc_command "$1"