-
-
Save lennartack/0c05d2c49414b04f4e7c0f281eae813a to your computer and use it in GitHub Desktop.
systemd definition for pulseaudio in system-mode (example for archlinux).The pulseaudio developers explicitly recommend to NOT run pulseaudo system-mode!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
[Unit] | |
Description=Pulseaudio sound server | |
After=avahi-daemon.service network.target | |
[Service] | |
Type=dbus | |
ExecStart=/usr/bin/pulseaudio --system --disallow-exit --daemonize=no | |
ExecReload=/bin/kill -HUP $MAINPID | |
BusName=org.pulseaudio.Server | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment