From 049fca58fef05f4016a26f0f4e2fa28d8d8d9490 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Fri, 4 Aug 2023 16:58:25 +0200 Subject: [PATCH] VPN: OpenVPN: Instances - fix race condition when using CRL's in new OpenVPN instances, on configure, pass event to pluginctl to flush the requested crl's. closes https://github.com/opnsense/core/issues/6710 --- src/opnsense/service/conf/actions.d/actions_openvpn.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opnsense/service/conf/actions.d/actions_openvpn.conf b/src/opnsense/service/conf/actions.d/actions_openvpn.conf index 6c0da4b0872..8043ce12079 100644 --- a/src/opnsense/service/conf/actions.d/actions_openvpn.conf +++ b/src/opnsense/service/conf/actions.d/actions_openvpn.conf @@ -35,7 +35,7 @@ type:script message: restart openvpn instance %s [configure] -command:/usr/local/opnsense/scripts/openvpn/ovpn_service_control.php +command:/usr/local/sbin/pluginctl -c crl || /usr/local/opnsense/scripts/openvpn/ovpn_service_control.php parameters: -a configure type:script message: configure openvpn instances