New comment by Luciogi on void-packages repository https://github.com/void-linux/void-packages/issues/50326#issuecomment-2110605020 Comment: @SpidFightFR I took services from https://github.com/Johnnynator/dotfiles/tree/master/.sv `/etc/sv/runsvdir-oggy/run` contains following you just change `USER` and `HOME` ```sh #!/bin/sh export XDG_RUNTIME_DIR="/run/user/1000" export USER="oggy" export HOME="/home/oggy" groups="$(id -Gn "$USER" | tr ' ' ':')" svdir="$HOME/.sv/service" exec chpst -u "$USER:$groups" runsvdir "$svdir" ````