cloudflared for 9front
tcp80.org·182w
Preview
Report Post

be0ba 2022-07-03

The below patch should allow both building for and building on 9front. You may want to update DefaultUnixConfigLocation in config/configuration.go.

diff --git a/config/configuration.go b/config/configuration.go
index 5112d1ec..fe12e803 100644
--- a/config/configuration.go
+++ b/config/configuration.go
@@ -25,7 +25,7 @@ var (
DefaultConfigFiles = []string{"config.yml", "config.yaml"}

// DefaultUnixConfigLocation is the primary location to find a config file
-	DefaultUnixConfigLocation = "/usr/local/etc/cloudflared"
+	DefaultUnixConfigLocation = "/sys/lib/cloudflared"

// DefaultUnixLogLocation is the primary location to find log files
DefaultUnixLogLocation = "/var/log/cloudflared"
diff --git a/watcher/file.go b/watcher/file.go
index 369abe67..a00af9ef 100644
---...

Similar Posts

Loading similar posts...