| | |
| | | * stop a service, a admin stopped some days before! To avoid this, we ignore |
| | | * the status (it is only for the interface to show) and use our own maxid |
| | | */ |
| | | include_once (dirname(__FILE__) . "/../lib/remote_action.inc.php"); |
| | | include_once (SCRIPT_PATH."/lib/remote_action.inc.php"); |
| | | |
| | | /* |
| | | * Get all actions this server should execute |
| | |
| | | * we stop executing the actions not to waste more time */ |
| | | return; |
| | | } |
| | | |
| | | if ($action['action_type'] == 'ispc_update') { |
| | | /* do the update */ |
| | | $this->_doIspCUpdate($action); |
| | | // Update function has been removed |
| | | // $this->_doIspCUpdate($action); |
| | | /* this action takes so much time, |
| | | * we stop executing the actions not to waste more time */ |
| | | return; |
| | | $this->_actionDone($action['action_id'], 'ok'); |
| | | } |
| | | if ($action['action_type'] == 'openvz_start_vm') { |
| | | $veid = intval($action['action_param']); |
| | |
| | | //$this->_actionDone($action['action_id'], 'ok'); |
| | | } |
| | | } |
| | | ?> |
| | | ?> |