summaryrefslogtreecommitdiff
path: root/extra/postfix
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-20 22:47:13 +0000
committerroot <root@rshg047.dnsready.net>2011-05-20 22:47:13 +0000
commit6cf70d41be9abf69b6d19fbb4ce665c76db3a6c6 (patch)
treed0e12dbaa2cb07b6209b58bddf0943ba8f22bb07 /extra/postfix
parente2fe79d62643f0e50b1c5e194a94cb510b371cc8 (diff)
Fri May 20 22:47:13 UTC 2011
Diffstat (limited to 'extra/postfix')
-rw-r--r--extra/postfix/PKGBUILD6
-rwxr-xr-xextra/postfix/rc.d7
2 files changed, 6 insertions, 7 deletions
diff --git a/extra/postfix/PKGBUILD b/extra/postfix/PKGBUILD
index 6843a2881..d22a45cfd 100644
--- a/extra/postfix/PKGBUILD
+++ b/extra/postfix/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 123813 2011-05-13 12:45:42Z bisson $
+# $Id: PKGBUILD 124325 2011-05-19 16:07:15Z bisson $
# Contributor: Jeff Brodnax <tullyarcher@bellsouth.net>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Maintainer: Paul Mattal <paul@archlinux.org>
pkgname=postfix
pkgver=2.8.3
-pkgrel=2
+pkgrel=3
pkgdesc='Secure, fast, easy to administer drop in replacement for Sendmail (MTA)'
url='http://www.postfix.org/'
arch=('i686' 'x86_64')
@@ -17,7 +17,7 @@ source=("ftp://ftp.porcupine.org/mirrors/postfix-release/official/${pkgname}-${p
'rc.d')
sha1sums=('2604066f158f5327449960afd6334b996dc01799'
'5fc3de6c7df1e5851a0a379e825148868808318b'
- '050e6afc5886049682c945ce147b3c47fe113939')
+ '40c6be2eb55e6437a402f43775cdb3d22ea87a66')
provides=('smtp-server' 'smtp-forwarder')
replaces=('postfix-mysql' 'postfix-pgsql')
diff --git a/extra/postfix/rc.d b/extra/postfix/rc.d
index 94ccc2af0..fa314bb84 100755
--- a/extra/postfix/rc.d
+++ b/extra/postfix/rc.d
@@ -4,24 +4,23 @@
. /etc/rc.d/functions
name=postfix
-PID=$(pidof -o %PPID /usr/lib/postfix/master)
case "$1" in
start)
stat_busy "Starting $name daemon"
- [[ -z "$PID" ]] && /usr/sbin/postfix start &>/dev/null \
+ /usr/sbin/postfix start &>/dev/null \
&& { add_daemon $name; stat_done; } \
|| { stat_fail; exit 1; }
;;
stop)
stat_busy "Stopping $name daemon"
- [[ -n "$PID" ]] && /usr/sbin/postfix stop &>/dev/null \
+ /usr/sbin/postfix stop &>/dev/null \
&& { rm_daemon $name; stat_done; } \
|| { stat_fail; exit 1; }
;;
reload)
stat_busy "Reloading $name daemon"
- [[ -n "$PID" ]] && kill -HUP $PID &>/dev/null \
+ /usr/sbin/postfix reload &>/dev/null \
&& { stat_done; } \
|| { stat_fail; exit 1; }
;;