Azure / azure-relay-bridge

Azure Relay Bridge - A cross-platform command line tool to create VPN-less TCP tunnels from and to anywhere
MIT License
121 stars 48 forks source link

Cannot run as LaunchDaemon when specifying parameters on the command line #76

Closed paveliak closed 2 months ago

paveliak commented 8 months ago

When running azbridge as Launch Daemon in MacOS it fails with Value cannot be null. (Parameter 'path1')" upon startup.

Exception comes from this line that assumes HOME environment variable to be defined (which is not).

The workaround is to provide a config file which lets azbridge take a different code path and bypass this line.