initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

27
bind/named.initd Normal file
View File

@@ -0,0 +1,27 @@
#!/sbin/openrc-run
# Copyright 2018 Hyperbola Project
# Distributed under the terms of the GNU General Public License v2
description="BIND service"
command="/usr/sbin/named"
command_args="-f -u named"
command_background="yes"
pidfile="/run/named/named.pid"
extra_started_commands="reload"
depend() {
need net
use logger
provide dns
}
start_pre() {
checkpath --directory --owner named:named --mode 0750 /var/run/named
}
reload() {
ebegin "Reloading named.conf and zone files"
start-stop-daemon --signal HUP exec "${command}" --pidfile "${pidfile}"
eend $?
}