File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -35,12 +35,12 @@ stop()
3535
3636reload ()
3737{
38- & METRONOME reload >> /dev/null
38+ $ METRONOME reload >> /dev/null
3939}
4040
4141restart ()
4242{
43- & METRONOME restart >> /dev/null
43+ $ METRONOME restart >> /dev/null
4444}
4545
4646case " $1 " in
Original file line number Diff line number Diff line change 526526 }
527527
528528 if ($ conf ['services ' ]['xmpp ' ]) {
529- if ($ conf ['xmpp ' ]['installed ' ] == true && $ conf ['xmpp ' ]['init_script ' ] != '' ) system ($ inst ->getinitcommand ($ conf ['xmpp ' ]['init_script ' ], 'restart ' ).' &> /dev/null ' );
529+ //if($conf['xmpp']['installed'] == true && $conf['xmpp']['init_script'] != '') system($inst->getinitcommand($conf['xmpp']['init_script'], 'restart').' &> /dev/null');
530+ // There is no metronome systemd unit at the moment, so we always use the init script.
531+ if ($ conf ['xmpp ' ]['installed ' ] == true && $ conf ['xmpp ' ]['init_script ' ] != '' ) system ('/etc/init.d/metronome restart &> /dev/null ' );
530532 }
531533
532534 if ($ conf ['services ' ]['proxy ' ]) {
You can’t perform that action at this time.
0 commit comments