cloudflared for 9front
tcp80.org·188w

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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help