mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Instead of sending USR1, just call ipsec reload. And before it, call ipsec rereadsecrets to make sure new secretes are updated. It should fix #4785
This commit is contained in:
parent
d30038e079
commit
dbd43cc24d
@ -1247,7 +1247,8 @@ EOD;
|
||||
if (isvalidpid("{$g['varrun_path']}/starter.charon.pid")) {
|
||||
/* Update configuration changes */
|
||||
/* Read secrets */
|
||||
sigkillbypid("{$g['varrun_path']}/starter.charon.pid", 'USR1');
|
||||
mwexec("/usr/local/sbin/ipsec rereadsecrets", false);
|
||||
mwexec("/usr/local/sbin/ipsec reload", false);
|
||||
} else {
|
||||
mwexec("/usr/local/sbin/ipsec start", false);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user