Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 907 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 907 Bytes

mpd-pulse-user-service

Run mpd over pulseaudio with systemd at user level. It uses PulseAudio as output device using the name "mpd-pulse".

Prerequisites

  • You will need to have mpd (Music Player Daemon) installed.

Install/Remove

Install by simply running the following command:

sh install.sh

You can remove the service by running the following command:

sh remove-service.sh

Keep in mind that this script will not remove any files under "~/.mpd" in order to avoid data loss. The cleanup operation is left to the user's discretion.

Usage

Start, Stop and Restart

The service can be managed with the usual systemd commands.

Start mpd-pulse

systemctl --user start mpd-pulse

Stop mpd-pulse

systemctl --user stop mpd-pulse

Restart mpd-pulse

systemctl --user restart mpd-pulse

Equivalent convenience scripts are also provided (start.sh, stop.sh, restart.sh).