Hi, On Thu, 18 Sep 2025 09:31:46 +0300 "Alex Efros via supervision" <[email protected]> wrote: > [snip] > > I use $XDG_CONFIG_HOME/runsvdir/current/$SERVICE/ for service > directories (e.g. ~/.config/runsvdir/current/docker/ to run rootless > docker daemon) and $XDG_STATE_HOME/runsvdir/$SERVICE/ for logs (e.g. > ~/.local/state/runsvdir/docker/). Arguably it might be > $XDG_STATE_HOME/log/$SERVICE/ instead. > > The "current" is a symlink managed in same way as `runsvchdir` does - > so user can use different groups of services in ~/.config/runsvdir/*/ > just like OS runlevels in /etc/runit/runsvdir/*/. >
For this exact reason few months ago I patched [1] runsvchdir, now reading your text I wonder if it's already possible to use it outside of /etc/runit/runsvdir/ (and how)? Cheers, Lorenzo [1] https://salsa.debian.org/debian/runit/-/commit/dca513220041d04981c235314cab5ab8319eba66
