run: make launcher ownership explicit
This commit is contained in:
15
README.md
15
README.md
@@ -118,7 +118,20 @@ absent or invalid, the popup disables itself cleanly while input processing
|
||||
continues. `run.sh` and `bench.sh` accept the same font-file arguments.
|
||||
When `run.sh` is invoked without arguments, it uses the installed DejaVu,
|
||||
Jigmo, or Noto CJK font files from the standard Arch Linux paths. Explicit
|
||||
font-file arguments replace these defaults.
|
||||
font-file arguments replace these defaults:
|
||||
|
||||
```sh
|
||||
./run.sh
|
||||
./run.sh /path/to/primary.ttf /path/to/fallback.ttc
|
||||
```
|
||||
|
||||
`run.sh` remains in the foreground and owns only the daemon and XIM process
|
||||
that it starts. It waits for that daemon's IPC socket and IBus address file
|
||||
before reporting success. With `DISPLAY` set it then starts XIM; without a
|
||||
display it keeps the headless daemon in the foreground and does not start
|
||||
XIM. A signal or XIM exit stops and reaps the launcher's daemon. The
|
||||
launcher never replaces an existing daemon: an occupied per-user socket is a
|
||||
visible startup failure.
|
||||
|
||||
The IPC socket is placed at `$XDG_RUNTIME_DIR/strans.sock` when
|
||||
`XDG_RUNTIME_DIR` is an absolute path. Otherwise strans uses the per-user
|
||||
|
||||
Reference in New Issue
Block a user