X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 8709ADC01DE for ; Mon, 16 May 2016 15:34:57 +0000 (UTC) Received: from newmail.tetrasec.net (unknown [74.117.189.117]) by mail.alpinelinux.org (Postfix) with ESMTP id 4EE78DC009E for ; Mon, 16 May 2016 15:34:57 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (12.63.200.37.customer.cdi.no [37.200.63.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by newmail.tetrasec.net (Postfix) with ESMTPSA id 9F9645A0881; Mon, 16 May 2016 15:34:56 +0000 (GMT) Date: Mon, 16 May 2016 17:34:52 +0200 From: Natanael Copa To: Valery Kartel Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH 1/2] main/dovecot: upgrade to 2.2.23, update init and logrotate scripts Message-ID: <20160516173452.4b37bcbb@ncopa-desktop.alpinelinux.org> In-Reply-To: <1459753686-20614-1-git-send-email-valery.kartel@gmail.com> References: <1459753686-20614-1-git-send-email-valery.kartel@gmail.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Hi, sorry for late response On Mon, 4 Apr 2016 10:08:06 +0300 Valery Kartel wrote: > --- > main/dovecot/APKBUILD | 20 +++++++------- > main/dovecot/dovecot.initd | 59 +++++++++++++++--------------------------- > main/dovecot/dovecot.logrotate | 2 +- > 3 files changed, 32 insertions(+), 49 deletions(-) ... > - DOVECOT_BASEDIR=${DOVECOT_BASEDIR:-/run/dovecot} > - DOVECOT_PIDFILE=${DOVECOT_BASEDIR}/master.pid > - checkpath --directory --owner dovecot:dovecot --mode 0755 \ > - ${DOVECOT_BASEDIR} > -} > - > -start() { > - checkconfig || return 1 > - ebegin "Starting ${SVCNAME}" > - start-stop-daemon --start --exec /usr/sbin/dovecot --pidfile "${DOVECOT_PIDFILE}" -- -c "${DOVECOT_CONF}" > +start_pre() { > + ebegin > + doveconf -c $cfgfile -x >/dev/null && \ > + checkpath --directory ${pidfile%/*} Should the pidfile directory not be owned by dovecot:dovecot? -nc --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---