Skip to content

Instantly share code, notes, and snippets.

@jtbonhomme
Created July 2, 2017 09:14
Show Gist options
  • Save jtbonhomme/e2a3e00260ce325115a726d33012ae7c to your computer and use it in GitHub Desktop.
Save jtbonhomme/e2a3e00260ce325115a726d33012ae7c to your computer and use it in GitHub Desktop.
Start pulseaudio as a Deamon at startup.
[Unit]
Description=PulseAudio Daemon
Requires=sound.target dbus.service
After=sound.target dbus.service
[Service]
Type=simple
#ExecStart=/usr/bin/pulseaudio -D
ExecStart=/usr/bin/pulseaudio --system --realtime --disallow-exit --disallow-module-loading
[Install]
WantedBy=multi-user.target
@jtbonhomme
Copy link
Author

% sudo nano /etc/systemd/system/pulseaudio.service 
% sudo systemctl --system enable pulseaudio.service
% sudo systemctl --system start pulseaudio.service
% sudo systemctl --system status pulseaudio.service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment