Reload also the configuration not only the secrets before trying to apply existing configuration. Ticket #3981
This commit is contained in:
parent
a838048088
commit
e82a1d11d6
|
@ -841,6 +841,7 @@ EOD;
|
|||
/* Read secrets */
|
||||
mwexec("/usr/local/sbin/ipsec rereadall", false);
|
||||
/* Update configuration changes */
|
||||
mwexec("/usr/local/sbin/ipsec update", false);
|
||||
mwexec("/usr/local/sbin/ipsec reload", false);
|
||||
} else {
|
||||
mwexec("/usr/local/sbin/ipsec start", false);
|
||||
|
|
Reference in New Issue