Skip to content

Commit

Permalink
Use common path in unix_socket default setting
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfont committed May 10, 2023
1 parent c7db99d commit 22e397e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func LoadConfig(path string, isFile bool) error {
viper.SetDefault("derp.server.enabled", false)
viper.SetDefault("derp.server.stun.enabled", true)

viper.SetDefault("unix_socket", "/var/run/headscale.sock")
viper.SetDefault("unix_socket", "/var/run/headscale/headscale.sock")
viper.SetDefault("unix_socket_permission", "0o770")

viper.SetDefault("grpc_listen_addr", ":50443")
Expand Down

0 comments on commit 22e397e

Please sign in to comment.