Commit 552c30ea authored by Max Kellermann's avatar Max Kellermann

systemd: add "RuntimeDirectory" directive

parent 48e8a268
......@@ -5,6 +5,7 @@ ver 0.23.3 (not yet released)
* output
- alsa: add option "stop_dsd_silence" to work around DSD DAC noise
* macOS: fix libfmt related build failure
* systemd: add "RuntimeDirectory" directive
ver 0.23.2 (2021/10/22)
* protocol
......
......@@ -7,6 +7,10 @@ After=network.target sound.target
Type=notify
ExecStart=@prefix@/bin/mpd --no-daemon
# Create /run/mpd (if MPD is launched without the socket unit and is
# configured to bind listener sockets there).
RuntimeDirectory=mpd
# Enable this setting to ask systemd to watch over MPD, see
# systemd.service(5). This is disabled by default because it causes
# periodic wakeups which are unnecessary if MPD is not playing.
......
......@@ -7,6 +7,10 @@ After=network.target sound.target
Type=notify
ExecStart=@prefix@/bin/mpd --no-daemon
# Create /run/user/$UID/mpd (if MPD is launched without the socket
# unit and is configured to bind listener sockets there).
RuntimeDirectory=mpd
# Enable this setting to ask systemd to watch over MPD, see
# systemd.service(5). This is disabled by default because it causes
# periodic wakeups which are unnecessary if MPD is not playing.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment