mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
use current directory as default logging socket path
This commit is contained in:
parent
b4e1fbf290
commit
f3d26e038d
@ -8,7 +8,7 @@ CTOP_DEBUG=1 ./ctop
|
|||||||
|
|
||||||
While `ctop` is running, you can connect to the logging socket via socat or similar tools:
|
While `ctop` is running, you can connect to the logging socket via socat or similar tools:
|
||||||
```bash
|
```bash
|
||||||
socat unix-connect:/tmp/ctop.sock stdio
|
socat unix-connect:./ctop.sock stdio
|
||||||
```
|
```
|
||||||
|
|
||||||
example output:
|
example output:
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
path = "/tmp/ctop.sock"
|
path = "./ctop.sock"
|
||||||
)
|
)
|
||||||
|
|
||||||
var server struct {
|
var server struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user