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.
This commit is contained in:
Timm Kandziora 2019-05-25 17:59:51 +02:00 committed by GitHub
parent 4bff1ef9df
commit 3de615db46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ func newLaunchdTemplate(installPath, stdoutPath, stderrPath string) *ServiceTemp
<key>ProgramArguments</key>
<array>
<string>{{ .Path }}</string>
<string>proxy-dns</string>
</array>
<key>RunAtLoad</key>
<true/>