Add an environment variable for custom temp dirs

This would be useful if you need to do some elaborate namespacing setup
and want all sockets and other temporary files in a single directory
instead of in `${XDG_RUNTIME_DIR:/tmp}`.

This resolves #139.
This commit is contained in:
Robbert van der Helm
2021-10-16 01:41:48 +02:00
parent e79d1ec03a
commit 3257b9c32e
3 changed files with 22 additions and 2 deletions
+3 -1
View File
@@ -668,7 +668,9 @@ the yabridge [Discord](https://discord.gg/pyNeweqadf).
- If you're using a `WINELOADER` that runs the Wine process under a separate
namespace while the host is not sandboxed, then you'll have to use the
`YABRIDGE_NO_WATCHDOG` environment variable to disable the watchdog timer. If
you know what this means then you probably know what you're doing.
you know what this means then you probably know what you're doing. In that
case, you may also want to use `YABRIDGE_TEMP_PATH` to choose a different
directory for yabridge to store its sockets and other temporary files in.
## Performance tuning