add retire.sh
this is a sudo script that retires the box
This commit is contained in:
@@ -790,5 +790,10 @@ function checkDiskSpace(callback) {
|
||||
}
|
||||
|
||||
function retire(callback) {
|
||||
shell.sudo('retire', [ RETIRE_CMD ], callback);
|
||||
var data = {
|
||||
isCustomDomain: config.isCustomDomain(),
|
||||
fqdn: config.fqdn()
|
||||
};
|
||||
shell.sudo('retire', [ RETIRE_CMD, JSON.stringify(data) ], callback);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user