mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
IPSec: service hook should use pluginctl to flush config to disk, for https://github.com/opnsense/core/issues/3827
This commit is contained in:
parent
d683929fc6
commit
5c954133b8
@ -23,7 +23,7 @@ type:script
|
||||
message:IPsec disconnect %s
|
||||
|
||||
[start]
|
||||
command:/usr/local/sbin/ipsec start
|
||||
command:/usr/local/sbin/pluginctl ipsec
|
||||
parameters:
|
||||
type:script
|
||||
message:IPsec service start
|
||||
@ -35,7 +35,7 @@ type:script
|
||||
message:IPsec service stop
|
||||
|
||||
[restart]
|
||||
command:/usr/local/sbin/ipsec restart
|
||||
command:/usr/local/sbin/ipsec stop ; /usr/local/sbin/pluginctl ipsec
|
||||
parameters:
|
||||
type:script
|
||||
message:IPsec service restart
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user