The latest version of Unifi OS for Dream Machines (2.4.47 Release Candidate) seems to have broken this excellent patch.
Ubiquiti has changed the way the openvpn site to site vpn client is called and configured in the underlying OS which causes incorrect parameters to be sent to the openvpn-wrapper and openvpn-notify scripts...