Changed named stop command on OpenBSD to prevent killing syslog.
This commit is contained in:
parent
a12b62bea5
commit
b3807231fc
1 changed files with 4 additions and 0 deletions
|
@ -47,6 +47,10 @@ class dns::server {
|
|||
ensure => running,
|
||||
enable => true,
|
||||
status => "/usr/sbin/rndc status",
|
||||
stop => $operatingsystem ? {
|
||||
openbsd => "pkill -u named",
|
||||
default => undef,
|
||||
},
|
||||
start => $operatingsystem ? {
|
||||
openbsd => "/usr/sbin/named",
|
||||
default => undef,
|
||||
|
|
Loading…
Add table
Reference in a new issue