systemd: add "RuntimeDirectory" directive
This commit is contained in:
parent
48e8a26813
commit
552c30eae4
1
NEWS
1
NEWS
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue