Skip to content

Commit

Permalink
Fix socket location in config.go
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfont committed May 3, 2023
1 parent 18fa825 commit fa35f6e
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 @@ -174,7 +174,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 fa35f6e

Please sign in to comment.