diff options
author | Max Kellermann <max@musicpd.org> | 2019-04-10 16:34:40 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-04-10 16:34:40 +0200 |
commit | b4fcbdb235881e71ff59a36fdcb05a984d718a65 (patch) | |
tree | c9a3b8d7f8314dbaee766bcbe2b2c46b74e2c61e /systemd | |
parent | f4b5a28596049e4a7add507ef30e86cb70c59827 (diff) |
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
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/system/mpd.socket | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/system/mpd.socket b/systemd/system/mpd.socket index c4692592c..56c4a27fc 100644 --- a/systemd/system/mpd.socket +++ b/systemd/system/mpd.socket @@ -1,5 +1,5 @@ [Socket] -ListenStream=/run/mpd/socket +ListenStream=%t/mpd/socket ListenStream=6600 Backlog=5 KeepAlive=true |