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 A0E27DC0270 for ; Sat, 19 Dec 2015 15:21:14 +0000 (UTC) Received: from lithium.8pit.net (lithium.8pit.net [81.4.121.103]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 27D45DC0199 for ; Sat, 19 Dec 2015 15:21:13 +0000 (UTC) Received: from localhost (eduroam-pool10-421.wlan.uni-bremen.de [134.102.91.164]) by lithium.8pit.net (OpenSMTPD) with ESMTPSA id a7570c38 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sat, 19 Dec 2015 16:21:10 +0100 (CET) Date: Sat, 19 Dec 2015 16:21:05 +0100 From: =?iso-8859-1?Q?S=F6ren?= Tempel To: alpine-aports@lists.alpinelinux.org Cc: valery.kartel@gmail.com Subject: Re: [alpine-aports] [PATCH] main/nsd: copy new version of the OpenRC service from Gentoo Message-ID: <20151219152105.GA6969@francium.wlan.uni-bremen.de> References: <1450384389-29157-1-git-send-email-soeren+git@soeren-tempel.net> 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-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Virus-Scanned: ClamAV using ClamSMTP On 18.12.15, Valery Kartel wrote: > if use the power and defaults of openrc-run, init-script with the same > functionality will looks like: > #!/sbin/openrc-run > > description="NSD is an authoritative-only, high performance, open source > name server" > checkconf="{NSD_CHECKCONF:-/usr/sbin/nsd-checkconf} > cfgfile=${NSD_CONFIG:-/etc/nsd/nsd.conf} > pidfile=$($checkconf -o pidfile $cfgfile) > command=${NSD_BINARY:-/usr/sbin/nsd} > command_args="-c $cfgfile" > required_files="$cfgfile" > > depend() { > need net > use logger > } > > start_pre() { > ebegin > checkpath --directory --owner nsd:nsd ${pidfile%/*} > $checkconf $cfgfile > eend $? > } I know I was just too lazy to write it. I will close this request, would you mind submitting a new patch which uses your service instead? --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---