Skip to content

Instantly share code, notes, and snippets.

@zekesulastin
Created February 23, 2013 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zekesulastin/5020650 to your computer and use it in GitHub Desktop.
Save zekesulastin/5020650 to your computer and use it in GitHub Desktop.
[Unit]
Description=RTP Broadcaster for MPD (PulseAudio)
After=network.service
Before=mpd.service
[Service]
Type=simple
User=mpd
Group=mpd
ExecStart=/usr/bin/pulseaudio -n --file=/etc/mpd/mpd.pa
ExecStop=/usr/bin/pulseaudio --kill
Restart=always
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment