Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Not much else to this question: I would like to know what I need to create a PulseAudio systemd service to be run with systemd --user.

I've tried a few different things, including various user services from Google, but I can't get it set up just right between dbus and everything else required for it.

Update: It seems to work ok with graphical sessions, but I'm still having some inconsistancy with dbus when logging in through console. But PulseAudio is starting rather reliably, so I'm not overly concerned.

share|improve this question
up vote 6 down vote accepted

Just a guess but something like this in a file systemd/user/pulseaudio.service:

Description=PulseAudio Sound System



I found this in a github repo which had additional files related to systemd setup.

The author of that repo, also wrote up on his blog this post: systemd as a session manager. This post details how to make use of the files in the repo.

Incidentally the files in the repo go here, ${HOME}/.config/systemd/user/.

share|improve this answer
Using this as the pulseaudio.service, plus dbus.service & dbus.socket from here, I finally got it to work! It spits out errors if I try to stop it, but I figure I probably won't be stopping PulseAudio anyway. Thanks a ton! – mellowmaroon May 11 '13 at 5:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.