Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 888535 Details for
Bug 927552
net-dns/nsd: some OpenRC service script improvements
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
nsd init script v2
nsd (text/plain), 1.10 KB, created by
Michael Orlitzky
on 2024-03-25 12:43:46 UTC
(
hide
)
Description:
nsd init script v2
Filename:
MIME Type:
Creator:
Michael Orlitzky
Created:
2024-03-25 12:43:46 UTC
Size:
1.10 KB
patch
obsolete
>#!/sbin/openrc-run ># Copyright 1999-2019 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >description="NSD is an authoritative-only, high performance, open source name server" >extra_commands="configtest" >extra_started_commands="reload" > ># these can be overridden in /etc/conf.d/nsd if necessary >NSD_CONFIG="${NSD_CONFIG:-/etc/nsd/nsd.conf}" >NSD_CHECKCONF="${NSD_CHECKCONF:-/usr/sbin/nsd-checkconf}" > ># NSD always writes an (insecure) PID file, unless you tell it not to. >command="${NSD_BINARY:-/usr/sbin/nsd}" >command_args="-c ${NSD_CONFIG} -d -P ''" >command_background=true >pidfile="/run/${RC_SVCNAME}.pid" >required_files="${NSD_CONFIG}" > >depend() { > use logger >} > >checkconfig() { > if ! "${NSD_CHECKCONF}" "${NSD_CONFIG}"; then > eerror "You have errors in your configfile (${NSD_CONFIG})" > return $? > fi > return 0 >} > >configtest() { > ebegin "Checking ${SVCNAME} configuration" > checkconfig > eend $? >} > >start_pre() { > checkconfig || return $? >} > >reload() { > checkconfig || return $? > ebegin "Reloading config and zone files" > start-stop-daemon --signal HUP --pidfile "${pidfile}" > eend $? >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 927552
:
888522
| 888535