Permalink
Browse files

Make sure unbound starts

  • Loading branch information...
1 parent 8e55291 commit 327a4fc65f7bd1ca4c3ee4622857c1efedd3088e Warren Baker committed Jan 30, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 etc/inc/unbound.inc
View
@@ -346,7 +346,7 @@ function do_as_unbound_user($cmd) {
switch ($cmd) {
case "start":
- exec("echo '/usr/sbin/unbound-control -c{$g['unbound_chroot_path']}/unbound.conf start' | /usr/bin/su -m unbound");
+ mwexec("/usr/sbin/unbound -c{$g['unbound_chroot_path']}/unbound.conf");
break;
case "stop":
mwexec("echo '/usr/sbin/unbound-control stop' | /usr/bin/su -m unbound", true);

0 comments on commit 327a4fc

Please sign in to comment.