| | |
| | | caselog('chmod u+x /etc/init.d/metronome', __FILE__, __LINE__); |
| | | caselog('update-rc.d metronome defaults', __FILE__, __LINE__); |
| | | |
| | | exec($this->getinitcommand('xmpp', 'restart')); |
| | | exec($this->getinitcommand('metronome', 'restart')); |
| | | |
| | | /* |
| | | writing new private key to 'smtpd.key' |
| | |
| | | } |
| | | |
| | | 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']) { |