Revision 327a4fc6
Added by Warren Baker over 11 years ago
etc/inc/unbound.inc | ||
---|---|---|
346 | 346 |
|
347 | 347 |
switch ($cmd) { |
348 | 348 |
case "start": |
349 |
exec("echo '/usr/sbin/unbound-control -c{$g['unbound_chroot_path']}/unbound.conf start' | /usr/bin/su -m unbound");
|
|
349 |
mwexec("/usr/sbin/unbound -c{$g['unbound_chroot_path']}/unbound.conf");
|
|
350 | 350 |
break; |
351 | 351 |
case "stop": |
352 | 352 |
mwexec("echo '/usr/sbin/unbound-control stop' | /usr/bin/su -m unbound", true); |
Also available in: Unified diff
Make sure unbound starts