Browse Source

Set rc_reload to NO. In rc.d(8), `reload' means reloading the

configuration without service disruption which is not what -HUP does for
nsd(8).
Anyway, zone operations (...) should be done using nsdc(8) and not with
an rc script.
discussed with and ok sthen@
OPENBSD_5_1
ajacoutot 13 years ago
parent
commit
7341c2c314
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/etc/rc.d/nsd

+ 3
- 1
src/etc/rc.d/nsd View File

@ -1,9 +1,11 @@
#!/bin/sh #!/bin/sh
# #
# $OpenBSD: nsd,v 1.1 2011/07/06 18:55:36 robert Exp $
# $OpenBSD: nsd,v 1.2 2011/12/13 13:45:38 ajacoutot Exp $
daemon="/usr/sbin/nsd" daemon="/usr/sbin/nsd"
. /etc/rc.d/rc.subr . /etc/rc.d/rc.subr
rc_reload=NO
rc_cmd $1 rc_cmd $1

Loading…
Cancel
Save