log, stats and console socket go in their own directory
This commit is contained in:
parent
49ab6a94ce
commit
133884faf4
|
@ -8,10 +8,10 @@ let tmpdir = Fpath.(v "/var" / "run" / "albatross")
|
||||||
let dbdir = Fpath.(v "/var" / "db" / "albatross")
|
let dbdir = Fpath.(v "/var" / "db" / "albatross")
|
||||||
|
|
||||||
let socket_path =
|
let socket_path =
|
||||||
let path name = Fpath.(to_string (tmpdir / name + "sock")) in
|
let path name = Fpath.(to_string (tmpdir / "util" / name + "sock")) in
|
||||||
function
|
function
|
||||||
| `Console -> path "console"
|
| `Console -> path "console"
|
||||||
| `Vmmd -> path "vmmd"
|
| `Vmmd -> Fpath.(to_string (tmpdir / "vmmd.sock"))
|
||||||
| `Stats -> path "stat"
|
| `Stats -> path "stat"
|
||||||
| `Log -> path "log"
|
| `Log -> path "log"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue