From 3de615db462b4bd4fe3a613d926d55e5cc8e6baf Mon Sep 17 00:00:00 2001 From: Timm Kandziora Date: Sat, 25 May 2019 17:59:51 +0200 Subject: [PATCH] Fix macOS launch daemon On macOS you'd start the proxy with '[sudo] cloudflared proxy-dns'. This launch daemon didn't start the proxy since the argument 'proxy-dns' was missing. This commit adds the argument to the launch daemon and now starting the proxy on system startup works as expected. --- cmd/cloudflared/macos_service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/cloudflared/macos_service.go b/cmd/cloudflared/macos_service.go index d4fd3f20..d8425a01 100644 --- a/cmd/cloudflared/macos_service.go +++ b/cmd/cloudflared/macos_service.go @@ -47,6 +47,7 @@ func newLaunchdTemplate(installPath, stdoutPath, stderrPath string) *ServiceTemp ProgramArguments {{ .Path }} + proxy-dns RunAtLoad