FS#40001 - [pulseaudio] Service file missing, esp for headless systems
            Attached to Project:
            Arch Linux
            
Opened by Kai Hendry (hendry) - Tuesday, 22 April 2014, 05:15 GMT
Last edited by Jan Alexander Steffens (heftig) - Saturday, 27 September 2014, 20:42 GMT
          Opened by Kai Hendry (hendry) - Tuesday, 22 April 2014, 05:15 GMT
Last edited by Jan Alexander Steffens (heftig) - Saturday, 27 September 2014, 20:42 GMT
| 
 | Details
                    Description: Pulseaudio is not started unless `pulseaudio
                    --start` is started. There seems to be no canonical way to
                    do this. For example
                      https://wiki.archlinux.org/index.php/PulseAudio#Running
                    recommends doing it in .xinitrc or something like that,
                    which doesn't make sense on headless systems. Additional info: * 5.0-1 Steps to reproduce: Boot a headless machine. | 
              This task depends upon
              
              
            
            
          
            Closed by  Jan Alexander Steffens (heftig)
Saturday, 27 September 2014, 20:42 GMT
Reason for closing: Won't implement
          
          
        Saturday, 27 September 2014, 20:42 GMT
Reason for closing: Won't implement
 
                      
[Unit]
Description=PulseAudio Server
[Service]
User=pulse
Environment=PULSE_RUNTIME_PATH=/run/pulse
Environment=PULSE_CONFIG_PATH=/var/lib/pulse
Environment=PULSE_STATE_PATH=/var/lib/pulse
ExecStart=/usr/bin/pulseaudio --fail --disallow-module-loading --disallow-exit --exit-idle-time=-1 -n --file=/etc/pulse/headless.pa
Ensure that /run/pulse and /var/lib/pulse exist with the right modes (systemd-tmpfiles). Note that "system mode" isn't used as AFAIK it just duplicates systemd's functionality here.