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
120 stars 48 forks source link

Run as a service on macOS #84

Closed paveliak closed 5 months ago

paveliak commented 5 months ago

This PR adds support for running azbridge as a service on MacOS as a LaunchDaemon

This mostly follows the pattern of running azbridge as Systemd service on Linux with one notable change. Launchd configuration file expects azbridge to be located at /usr/local/share/azbridge/azbridge. This is because /usr/share folder is read-only on MacOS.