Browse Source

net/bind: add the bind user/group

Signed-off-by: Noah Meyerhans <frodo@morgul.net>
lilik-openwrt-22.03
Noah Meyerhans 10 years ago
parent
commit
1fe4160fc2
2 changed files with 4 additions and 1 deletions
  1. +2
    -1
      net/bind/Makefile
  2. +2
    -0
      net/bind/files/named.init

+ 2
- 1
net/bind/Makefile View File

@ -10,7 +10,8 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=bind PKG_NAME:=bind
PKG_VERSION:=9.9.6-P1 PKG_VERSION:=9.9.6-P1
PKG_RELEASE:=1
PKG_RELEASE:=2
USERID:=bind=57:bind=57
PKG_MAINTAINER := Noah Meyerhans <frodo@morgul.net> PKG_MAINTAINER := Noah Meyerhans <frodo@morgul.net>
PKG_LICENSE := BSD-3-Clause PKG_LICENSE := BSD-3-Clause


+ 2
- 0
net/bind/files/named.init View File

@ -26,6 +26,8 @@ fix_perms() {
} }
start_service() { start_service() {
user_exists bind 57 || user_add bind 57
group_exists bind 57 || group_add bind 57
fix_perms fix_perms
procd_open_instance procd_open_instance
procd_set_param command /usr/sbin/named -u bind -f -c $config_file procd_set_param command /usr/sbin/named -u bind -f -c $config_file


Loading…
Cancel
Save