Re: Kill user services on true logout
Reply #8 –
I managed to make my user runsvdir behave properly by making openbox run as a proper session. I already was using dbus-launch --exit-with-session openbox in my .xinitrc, but openbox --exit did not cause HUP to be sent to the runsvdir started in autostart.sh. If I use setsid dbus-launch --exit-with-session openbox
then the runsvdir does receive a HUP signal and dies properly. I see no runsvdir remaining until I log in again. I suppose my simplistic attempt at using slim with a login_cmd = bash --login ~/.xinitrc %session
is too simple. There is a slim sessionstart_cmd, but I have never used it.