Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] main/nsd: copy new version of the OpenRC service from Gentoo

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Sun, 20 Dec 2015 00:48:23 +0200

I made a sample script for 30 seconds and did not test it. Yes, I'll made a
commit after testing it.
19 груд. 2015 17:21 "Sören Tempel" <soeren_at_soeren-tempel.net> пише:

> 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_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sun Dec 20 2015 - 00:48:23 GMT