Advertisement
Guest User

Untitled

a guest
Apr 20th, 2015
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. [Unit]
  2. Description=PulseAudio Server
  3. After=sound.target
  4. After=dbus.service
  5.  
  6. [Service]
  7. ExecStart=/usr/bin/pulseaudio
  8. Restart=on-failure
  9. User=sdcafe
  10.  
  11. # allow Pulseaudio to use real-time priority 99
  12. LimitNICE=-11
  13. LimitRTPRIO=99
  14. LimitRTTIME=-1
  15.  
  16. # move Pulseaudio to a top-level cgroup, as real-time budget assignment fails
  17. # in cgroup /system/pulseaudio.service, because /system has a zero real-time
  18. # budget; see
  19. # http://www.freedesktop.org/wiki/Software/systemd/MyServiceCantGetRealtime/
  20. ControlGroup=cpu:/pulseaudio
  21.  
  22. # assign a real-time budget
  23. #ControlGroupAttribute=cpu.rt_runtime_us 500000
  24.  
  25. [Install]
  26. Also=pulseaudio.socket
  27. WantedBy=default.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement