Skip to content

Commit 8b608cc

Browse files
author
Till Brehm
committed
Use Metronome init script from $conf array.
1 parent 461977b commit 8b608cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1630,7 +1630,7 @@ public function configure_xmpp($options = '') {
16301630
caselog('chmod u+x /etc/init.d/metronome', __FILE__, __LINE__);
16311631
caselog('update-rc.d metronome defaults', __FILE__, __LINE__);
16321632

1633-
exec($this->getinitcommand('metronome', 'restart'));
1633+
exec($this->getinitcommand($conf['xmpp']['init_script'], 'restart'));
16341634

16351635
/*
16361636
writing new private key to 'smtpd.key'

0 commit comments

Comments
 (0)