feat(system): Move user services to XDG_STATE_HOME directory

User services under control of runit under turnstiled now default to the
`~/.local/state/service/` directory (and `~/.local/state/service-env/`
for the env vars). This mimics the system-wide runit setup, with service
templates kept in `/etc/sv` (in my case `~/.config/sv` for user
services) and active ones in `/var/service`
This commit is contained in:
Marty Oehme 2025-02-25 18:40:08 +01:00
parent adfa7f1167
commit e0d88a9ee1
Signed by: Marty
GPG key ID: 4E535BC19C61886E
2 changed files with 22 additions and 0 deletions

View file

@ -26,6 +26,12 @@
state: link
with_items: [dbus, turnstiled, seatd]
- name: Set user service directory to $HOME/.local/state/service
ansible.builtin.copy:
src: runit.conf
dest: /etc/turnstile/backend/runit.conf
mode: 0644
- name: Install wlr desktop portals
community.general.xbps:
name: