diff --git a/_docs/debug.md b/_docs/debug.md index 2b69e9e..03a4156 100644 --- a/_docs/debug.md +++ b/_docs/debug.md @@ -8,7 +8,7 @@ CTOP_DEBUG=1 ./ctop While `ctop` is running, you can connect to the logging socket via socat or similar tools: ```bash -socat unix-connect:/tmp/ctop.sock stdio +socat unix-connect:./ctop.sock stdio ``` example output: diff --git a/logging/server.go b/logging/server.go index b6a49ee..525121e 100644 --- a/logging/server.go +++ b/logging/server.go @@ -7,7 +7,7 @@ import ( ) const ( - path = "/tmp/ctop.sock" + path = "./ctop.sock" ) var server struct {