aboutsummaryrefslogtreecommitdiff
path: root/mail/postfix26/files/postfix.sh.in
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2008-05-31 23:01:15 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2008-05-31 23:01:15 +0000
commita54fe1ca9c33931d7c4381a84ee11454f9831c08 (patch)
tree16cc7f849128603b27ba13f7bdb8ae11e1eadd30 /mail/postfix26/files/postfix.sh.in
parentc7651500a041b224f401ba85fc192aac6ad83c1c (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_5_EOL'.5-eol
Notes
Notes: svn path=/head/; revision=214069 svn path=/tags/RELEASE_5_EOL/; revision=214070; tag=5-eol
Diffstat (limited to 'mail/postfix26/files/postfix.sh.in')
-rw-r--r--mail/postfix26/files/postfix.sh.in48
1 files changed, 0 insertions, 48 deletions
diff --git a/mail/postfix26/files/postfix.sh.in b/mail/postfix26/files/postfix.sh.in
deleted file mode 100644
index 2b07d6c85c1d..000000000000
--- a/mail/postfix26/files/postfix.sh.in
+++ /dev/null
@@ -1,48 +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 "".
-#
-
-. %%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"}
-: ${postfix_flags=""}
-
-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"