Sync After Restore
This commit is contained in:
parent
d38a4164e2
commit
abd5ee8165
1 changed files with 4 additions and 1 deletions
|
@ -3228,8 +3228,11 @@ function daemonRestore($action,$info,$info2='') {
|
|||
$this->infotoadminemail("The EHCP backup was successfully restored!","Backup Restored",False);
|
||||
|
||||
// Restart web server and EHCP daemon
|
||||
$this->restart_webserver();
|
||||
// Things could change post restore, so make sure we run what needs to be done.
|
||||
$this->addDaemonOp('syncdomains','','','','sync domains');
|
||||
$this->addDaemonOp('syncdns','','','','sync dns');
|
||||
manageService("ehcp", "restart");
|
||||
$this->restart_webserver();
|
||||
|
||||
return True;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue