mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
Keeps the ratbagd daemon running until a signal is received. This is helpful for using an external client (like piper) to run against the ratbagd.devel instance. And to make that even easier, print the RATBAGCTL_DEVEL environment variable for use with ratbagd.py. In the future, this should probably be a more generic name. The integration is a bit odd because we need to add --keepalive to the actual parser, but we recreate that on every parse() call. So we set a flag on the parent object and check for that during parser creation. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>