Status updates, SSL updates
This commit is contained in:
@@ -12,14 +12,14 @@
|
||||
class Task_SSL_Renew extends Minion_Task {
|
||||
protected $_options = array(
|
||||
'id'=>NULL,
|
||||
'force'=>FALSE,
|
||||
);
|
||||
|
||||
/**
|
||||
* Renew a certificate
|
||||
*/
|
||||
protected function _execute(array $params) {
|
||||
// @todo, Change this to be a SSL id, maybe list all the certs expiring
|
||||
ORM::factory('Service',$params['id'])->plugin()->renew();
|
||||
ORM::factory('Service',$params['id'])->plugin()->renew($params['force']);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user