Fix macOS service installation launch template
The current version of cloudflared (2021.3.2 at time of commit) requires additional arguments to start a tunnel. Running 'cloudflared' on its own does not run a tunnel with the default configuration. This is behavior that has changed from previous versions of cloudflared, where no arguments were required for starting/running a tunnel with the default configuration behavior.
This commit is contained in:
parent
e9167f7f58
commit
b82a881f09
|
@ -49,6 +49,8 @@ func newLaunchdTemplate(installPath, stdoutPath, stderrPath string) *ServiceTemp
|
||||||
<key>ProgramArguments</key>
|
<key>ProgramArguments</key>
|
||||||
<array>
|
<array>
|
||||||
<string>{{ .Path }}</string>
|
<string>{{ .Path }}</string>
|
||||||
|
<string>tunnel</string>
|
||||||
|
<string>run</string>
|
||||||
</array>
|
</array>
|
||||||
<key>RunAtLoad</key>
|
<key>RunAtLoad</key>
|
||||||
<true/>
|
<true/>
|
||||||
|
|
Loading…
Reference in New Issue