Added fixes for: FS#1421 - Updates trough sys_remoteaction do not seem to work reliably, needs testing
| | |
| | | |
| | | //** Restart services: |
| | | swriteln('Restarting services ...'); |
| | | if($conf['mysql']['init_script'] != '' && is_executable($conf['init_scripts'].'/'.$conf['mysql']['init_script'])) system($conf['init_scripts'].'/'.$conf['mysql']['init_script'].' restart'); |
| | | if($conf['mysql']['init_script'] != '' && is_executable($conf['init_scripts'].'/'.$conf['mysql']['init_script'])) system($conf['init_scripts'].'/'.$conf['mysql']['init_script'].' reload'); |
| | | if($conf['services']['mail']) { |
| | | if($conf['postfix']['init_script'] != '' && is_executable($conf['init_scripts'].'/'.$conf['postfix']['init_script'])) system($conf['init_scripts'].'/'.$conf['postfix']['init_script'].' restart'); |
| | | if($conf['saslauthd']['init_script'] != '' && is_executable($conf['init_scripts'].'/'.$conf['saslauthd']['init_script'])) system($conf['init_scripts'].'/'.$conf['saslauthd']['init_script'].' restart'); |
| | |
| | | }
|
| | |
|
| | | private function _doIspCUpdate($action) {
|
| | | |
| | | // Ensure that this code is not executed twice as this would cause a loop in case of a failure
|
| | | $this->_actionDone($action['action_id'], 'ok');
|
| | | |
| | | /*
|
| | | * Get the version-number of the newest version
|
| | | */
|
| | |
| | | /*
|
| | | * All well done!
|
| | | */
|
| | | $this->_actionDone($action['action_id'], 'ok');
|
| | | //$this->_actionDone($action['action_id'], 'ok');
|
| | | }
|
| | | }
|
| | | ?> |