aboutsummaryrefslogtreecommitdiffstats
path: root/config/unbound/unbound_status.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/unbound/unbound_status.php')
-rw-r--r--config/unbound/unbound_status.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/unbound/unbound_status.php b/config/unbound/unbound_status.php
index 706e534d..dccdf3b6 100644
--- a/config/unbound/unbound_status.php
+++ b/config/unbound/unbound_status.php
@@ -31,6 +31,11 @@
require("guiconfig.inc");
+if(!is_process_running("unbound")) {
+ Header("Location: /pkg_edit.php?xml=unbound.xml&id=0");
+ exit;
+}
+
$pgtitle = "Unbound: Status";
include("head.inc");