systemd/socket: use %t instead of hard-coding /run
This allows using the file as a user unit, where "%t" maps to "$XDG_RUNTIME_DIR". Proposed in https://github.com/MusicPlayerDaemon/MPD/issues/530
This commit is contained in:
parent
f4b5a28596
commit
b4fcbdb235
@ -1,5 +1,5 @@
|
|||||||
[Socket]
|
[Socket]
|
||||||
ListenStream=/run/mpd/socket
|
ListenStream=%t/mpd/socket
|
||||||
ListenStream=6600
|
ListenStream=6600
|
||||||
Backlog=5
|
Backlog=5
|
||||||
KeepAlive=true
|
KeepAlive=true
|
||||||
|
Loading…
Reference in New Issue
Block a user