Re: Log dir for user instance services
Reply #1 –
Honestly, I never thought about it. I never encountered services which need it (since you'll also need to set up logrotate, etc.).
But since system services go to /var (a.k.a. LOCALSTATEDIR), if I were to follow XDG spec, I'd put it in $HOME/.local/state (a.k.a. $XDG_STATE_HOME by default.)
So if system log goes to /var/log/dinit, I'd personally put user logs in $HOME/.local/state/log/dinit.
But I usually use log-type = buffer anyway.