Skip to content

Commit c8724a2

Browse files
authored
Fix broken links in cmd/cloudflared/*.go related to running tunnel as a service
This PR updates 3 broken links to document [run tunnel as a service](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/configure-tunnels/local-management/as-a-service/).
1 parent e758615 commit c8724a2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/cloudflared/macos_service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func installLaunchd(c *cli.Context) error {
120120
log.Info().Msg("Installing cloudflared client as an user launch agent. " +
121121
"Note that cloudflared client will only run when the user is logged in. " +
122122
"If you want to run cloudflared client at boot, install with root permission. " +
123-
"For more information, visit https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/run-tunnel/run-as-service")
123+
"For more information, visit https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/configure-tunnels/local-management/as-a-service/macos/")
124124
}
125125
etPath, err := os.Executable()
126126
if err != nil {

cmd/cloudflared/updater/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
const (
2424
DefaultCheckUpdateFreq = time.Hour * 24
25-
noUpdateInShellMessage = "cloudflared will not automatically update when run from the shell. To enable auto-updates, run cloudflared as a service: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/run-tunnel/as-a-service/"
25+
noUpdateInShellMessage = "cloudflared will not automatically update when run from the shell. To enable auto-updates, run cloudflared as a service: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/configure-tunnels/local-management/as-a-service/"
2626
noUpdateOnWindowsMessage = "cloudflared will not automatically update on Windows systems."
2727
noUpdateManagedPackageMessage = "cloudflared will not automatically update if installed by a package manager."
2828
isManagedInstallFile = ".installedFromPackageManager"

cmd/cloudflared/windows_service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
const (
2727
windowsServiceName = "Cloudflared"
2828
windowsServiceDescription = "Cloudflared agent"
29-
windowsServiceUrl = "https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/run-tunnel/as-a-service/windows/"
29+
windowsServiceUrl = "https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/configure-tunnels/local-management/as-a-service/windows/"
3030

3131
recoverActionDelay = time.Second * 20
3232
failureCountResetPeriod = time.Hour * 24

0 commit comments

Comments
 (0)