summaryrefslogtreecommitdiff
path: root/mail/postfix28/files/postfix.sh.in
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2011-12-27 22:11:01 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2011-12-27 22:11:01 +0000
commit91677839a26a2f7f7fbd3cf61e91e2983492b226 (patch)
tree49ed53a6ebbea69db95993d1289ab4bd50c025a1 /mail/postfix28/files/postfix.sh.in
parent- Fix *_DEPENDS (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_9_0_0'.release/9.0.0
Notes
Notes: svn path=/head/; revision=288120 svn path=/tags/RELEASE_9_0_0/; revision=288121; tag=release/9.0.0
Diffstat (limited to 'mail/postfix28/files/postfix.sh.in')
-rw-r--r--mail/postfix28/files/postfix.sh.in47
1 files changed, 0 insertions, 47 deletions
diff --git a/mail/postfix28/files/postfix.sh.in b/mail/postfix28/files/postfix.sh.in
deleted file mode 100644
index 849e6c1f9bd6..000000000000
--- a/mail/postfix28/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=${name}_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"