Hi all
I would like to see if it is possible to prevent the OpenVPN Server from being restarted on the backup node when a configuration sync occurs. I am only using the configuration sync to copy users and certificates from primary to secondary, so that I may have a multi-server OpenVPN 'farm'. I am not using any of the CARP or active/passive features, I just want to sync users and certificates from the primary opnsense server to the secondary opensense server.
I started going down the code rabbit hole and I ended up here (https://github.com/opnsense/core/blob/714ad52b3a0c6e33f860321741a17a6dd1d69af4/src/opnsense/scripts/filter/update_tables.py) as the final stop on my journey, but I can't see where the command to restart OpenVPN is occurring.
I also followed the advice here (https://forum.opnsense.org/index.php?topic=22845.0) and that did not affect the restarting of the service.
Any ideas or thoughts are appreciated. Thanks!
Even if it's just pointing me at the file/line of code that sends the restart command to openVPN when a sync occurs, I can take it from there, I'm pretty handy when it comes to hacking on scripts.