summaryrefslogtreecommitdiff
path: root/net-vpn/headscale/files/config-socket.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-vpn/headscale/files/config-socket.patch')
-rw-r--r--net-vpn/headscale/files/config-socket.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-vpn/headscale/files/config-socket.patch b/net-vpn/headscale/files/config-socket.patch
new file mode 100644
index 000000000000..4d6c90e3f0f5
--- /dev/null
+++ b/net-vpn/headscale/files/config-socket.patch
@@ -0,0 +1,13 @@
+diff --git a/config-example.yaml b/config-example.yaml
+index dee25cb..007d8ec 100644
+--- a/config-example.yaml
++++ b/config-example.yaml
+@@ -202,7 +202,7 @@ dns_config:
+ # Unix socket used for the CLI to connect without authentication
+ # Note: for local development, you probably want to change this to:
+ # unix_socket: ./headscale.sock
+-unix_socket: /var/run/headscale.sock
++unix_socket: /run/headscale.sock
+ unix_socket_permission: "0770"
+ #
+ # headscale supports experimental OpenID connect support,