1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-08-10 13:46:46 +02:00

correct the error in the doc

without changing the unix socket location, the docker container will fail to launch and gives error `FTL go/src/headscale/cmd/headscale/cli/server.go:26 > Error starting server error="failed to set up gRPC socket: listen unix /var/run/headscale/headscale.sock: bind: no such file or directory"`
This commit is contained in:
XN 2023-05-05 10:56:04 +08:00 committed by GitHub
parent 6c5723a463
commit e4094c06b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,8 @@ db_type: sqlite3
db_path: /etc/headscale/db.sqlite
```
Change the `unix_socket: /var/run/headscale/headscale.sock` to `unix_socket: ./headscale.sock` for gRPC socket if you encounter `Error starting server error="failed to set up gRPC socket` related error
4. Start the headscale server while working in the host headscale directory:
```shell