rename OLLIE_9MOUNT → OLLIE
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d46b54877b
commit
78dd946144
|
|
@ -58,7 +58,7 @@ olliesrv stop # stop daemon
|
||||||
olliesrv status # check if running
|
olliesrv status # check if running
|
||||||
```
|
```
|
||||||
|
|
||||||
The server listens on a Unix socket in the Plan 9 namespace (`$NAMESPACE/ollie`) and optionally mounts via `9pfuse` to `$HOME/mnt/ollie` (or `$OLLIE_9MOUNT`).
|
The server listens on a Unix socket in the Plan 9 namespace (`$NAMESPACE/ollie`) and optionally mounts via `9pfuse` to `$HOME/mnt/ollie` (or `$OLLIE`).
|
||||||
|
|
||||||
## Sessions
|
## Sessions
|
||||||
|
|
||||||
|
|
|
||||||
2
main.go
2
main.go
|
|
@ -136,7 +136,7 @@ func runServer(sockPath, pidPath string) {
|
||||||
// Optional FUSE mount
|
// Optional FUSE mount
|
||||||
mnt := *mountPath
|
mnt := *mountPath
|
||||||
if mnt == "" {
|
if mnt == "" {
|
||||||
mnt = os.Getenv("OLLIE_9MOUNT")
|
mnt = os.Getenv("OLLIE")
|
||||||
}
|
}
|
||||||
if mnt == "" {
|
if mnt == "" {
|
||||||
home, _ := os.UserHomeDir()
|
home, _ := os.UserHomeDir()
|
||||||
|
|
|
||||||
Reference in New Issue