A script has been added to OPNsense that you can run with a cron job. Go to the cron settings and you can see the script in the dropdownIt basically tests for a stale WG connection on whatever interval you set and restarts WG if one is detected