launch: avoid autostarting pulseaudio systemd units for root
[platform/upstream/pulseaudio.git] / src / daemon / systemd / user / pulseaudio.service.in
index 2bd780f..46897bf 100644 (file)
@@ -14,6 +14,7 @@ Description=Sound Service
 # After=pulseaudio.socket is not needed, as it is already implicit in the
 # socket-service relationship, see systemd.socket(5).
 Requires=pulseaudio.socket
+ConditionUser=!root
 
 [Service]
 # Note that notify will only work if --daemonize=no