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:
Max Kellermann 2019-04-10 16:34:40 +02:00
parent f4b5a28596
commit b4fcbdb235
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
[Socket]
ListenStream=/run/mpd/socket
ListenStream=%t/mpd/socket
ListenStream=6600
Backlog=5
KeepAlive=true