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:
parent
4bff1ef9df
commit
3de615db46
|
@ -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/>
|
||||
|
|
Loading…
Reference in New Issue