From ce9b51ed7f2febf37f2da0df983315f1c71f95a6 Mon Sep 17 00:00:00 2001 From: Marius Burkard <m.burkard@pixcept.de> Date: Mon, 23 May 2016 04:21:02 -0400 Subject: [PATCH] - changed json handler for REST api --- install/update.php | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/install/update.php b/install/update.php index 29ffcb4..94de945 100644 --- a/install/update.php +++ b/install/update.php @@ -378,6 +378,9 @@ } elseif($conf['bind']['installed'] == true) { swriteln('Configuring BIND'); $inst->configure_bind(); + if(!is_installed('haveged')) { + swriteln("[INFO] haveged not detected - DNSSEC can fail"); + } } else { swriteln('Configuring MyDNS'); $inst->configure_mydns(); @@ -526,9 +529,7 @@ } if($conf['services']['xmpp']) { - //if($conf['xmpp']['installed'] == true && $conf['xmpp']['init_script'] != '') system($inst->getinitcommand($conf['xmpp']['init_script'], 'restart').' &> /dev/null'); - // There is no metronome systemd unit at the moment, so we always use the init script. - if($conf['xmpp']['installed'] == true && $conf['xmpp']['init_script'] != '') system('/etc/init.d/metronome restart &> /dev/null'); + if($conf['xmpp']['installed'] == true && $conf['xmpp']['init_script'] != '') system($inst->getinitcommand($conf['xmpp']['init_script'], 'restart').' &> /dev/null'); } if($conf['services']['proxy']) { -- Gitblit v1.9.1