From 7564c4548cdbb77fe8348bac2c09178b02e48cb4 Mon Sep 17 00:00:00 2001 From: Juan Font Date: Wed, 3 May 2023 20:26:20 +0000 Subject: [PATCH] Fix socket location in config.go --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index 9f074de2..b97ba04c 100644 --- a/config.go +++ b/config.go @@ -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")