|# systemd service spec for pulseaudio running in system mode -- not recommended though!|
|# on arch, put it under /etc/systemd/system/pulseaudio.service|
|# start with: systemctl start pulseaudio.service|
|# enable on boot: systemctl enable pulseaudio.service|
|Description=Pulseaudio sound server|
|ExecStart=/usr/bin/pulseaudio --system --disallow-exit --disallow-module-loading|
|ExecReload=/bin/kill -HUP $MAINPID|
Pulseadio configured correctly forks and drops root privileges, and runs under the user pulse.
I can't get it working on my intel-nuc running CentOs 8.
Root cause (?):
FYI this is what is written by pulseaudio in the log file when started by
This is what is logged by pulseaudio when starting from command line as user root: