XDG_RUNTIME_DIR=/run/user/$(id -u) Также посмотрите ссылки ниже, так как могут понадобиться другие vars: https://wiki.archlinux.org/index.php/PulseAudio#Play_sound_from_a_non-interactive_shell_.28systemd_service .2C_cron.29 https://wiki.archlinux.org/index.php/PulseAudio#Play_sound_from_a_non-interactive_shell_.28systemd_service.2C_cron.29
XDG_RUNTIME_DIR=/run/user/$(id -u)
Также посмотрите ссылки ниже, так как могут понадобиться другие vars:
https://wiki.archlinux.org/index.php/PulseAudio#Play_sound_from_a_non-interactive_shell_.28systemd_service .2C_cron.29
https://wiki.archlinux.org/index.php/PulseAudio#Play_sound_from_a_non-interactive_shell_.28systemd_service.2C_cron.29