diff options
author | root <root@rshg054.dnsready.net> | 2012-06-16 00:01:25 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-16 00:01:25 +0000 |
commit | 94fa10f3a918892a08707aa27eb32a83a4959879 (patch) | |
tree | 27111dcbae78f85f5016ac49dd08eff5f7e976c0 /community/dbmail | |
parent | 0f99ce5b4d8585285835a277dcbdaf1493d00635 (diff) |
Sat Jun 16 00:01:25 UTC 2012
Diffstat (limited to 'community/dbmail')
-rw-r--r-- | community/dbmail/PKGBUILD | 6 | ||||
-rw-r--r-- | community/dbmail/dbmail.rc.d | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/community/dbmail/PKGBUILD b/community/dbmail/PKGBUILD index 47c0f06fb..82c044c67 100644 --- a/community/dbmail/PKGBUILD +++ b/community/dbmail/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 69418 2012-04-16 09:39:14Z spupykin $ +# $Id: PKGBUILD 72451 2012-06-14 19:06:58Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Sebastian Faltoni <sebastian.faltoni@gmail.com> pkgname=dbmail pkgver=3.0.2 -pkgrel=2 +pkgrel=4 pkgdesc="Fast and scalable sql based mail services" arch=('i686' 'x86_64') depends=('gmime24' 'libzdb' 'mhash' 'libevent') @@ -26,7 +26,7 @@ source=(http://www.dbmail.org/download/3.0/dbmail-${pkgver/_/-}.tar.gz dbmail.rc.d) md5sums=('eb32235abffdf967253ee9d004e0e4a9' 'e7f72bc360decdb2475266391ad12329' - '6e287912650675011169b2dff42822cc') + '30774513fb016b9da08e9cf6f2a0b8e7') build() { cd $srcdir/dbmail-${pkgver/_/-}/ diff --git a/community/dbmail/dbmail.rc.d b/community/dbmail/dbmail.rc.d index 9286809df..f849b1679 100644 --- a/community/dbmail/dbmail.rc.d +++ b/community/dbmail/dbmail.rc.d @@ -23,9 +23,11 @@ case "$1" in stop) for daemon in $DBMAIL_DAEMONS; do stat_busy "Stopping DbMail ${daemon}" - pid=$(cat /var/run/dbmail/${daemon}.pid) - kill $pid - sleep 4 + pid=$(cat /var/run/dbmail/${daemon}.pid 2>/dev/null) + kill $pid 2>/dev/null + while kill -0 "$pid" 2>/dev/null; do + sleep 0.2 + done stat_done done rm_daemon dbmail |