From f67f0e7b5a55de967e9a9a50e5ab2f6d20f24650 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 19 Jan 2012 09:17:38 +0000 Subject: main/dovecot: replace opts in init.d script ref #943 --- main/dovecot/APKBUILD | 4 ++-- main/dovecot/dovecot.initd | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'main/dovecot') diff --git a/main/dovecot/APKBUILD b/main/dovecot/APKBUILD index 7fc28308c3..55ee908f9d 100644 --- a/main/dovecot/APKBUILD +++ b/main/dovecot/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa pkgname=dovecot pkgver=2.0.17 -pkgrel=0 +pkgrel=1 pkgdesc="IMAP and POP3 server" url="http://www.dovecot.org/" arch="all" @@ -118,5 +118,5 @@ config() { md5sums="41c10dffa56e228b9176833db2efaac5 dovecot-2.0.17.tar.gz aec5cc797ab2acf72ce3b6bb1030345f dovecot.logrotate -01067b40dfd74dfb79b946af1e680745 dovecot.initd +59f210c712284a82e3a65b4126ddd99c dovecot.initd 95cf57ecc835882228bbbb019ce3abf8 dovecot-sample-config.post-install" diff --git a/main/dovecot/dovecot.initd b/main/dovecot/dovecot.initd index 8e2075d5a6..b9ef27578a 100644 --- a/main/dovecot/dovecot.initd +++ b/main/dovecot/dovecot.initd @@ -1,9 +1,9 @@ #!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/files/dovecot.init-r2,v 1.3 2010/05/19 13:26:56 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/files/dovecot.init-r3,v 1.1 2011/09/17 10:33:38 eras Exp $ -opts="${opts} reload" +extra_started_commands="reload" depend() { need localmount net @@ -53,7 +53,7 @@ stop() { reload() { checkconfig || return 1 ebegin "Reloading ${SVCNAME} configs and restarting auth/login processes" - start-stop-daemon --stop --oknodo --exec /usr/sbin/dovecot \ - --pidfile "${DOVECOT_PIDFILE}" --signal HUP + start-stop-daemon --signal HUP --exec /usr/sbin/dovecot \ + --pidfile "${DOVECOT_PIDFILE}" eend $? } -- cgit v1.2.3