From b4fcbdb235881e71ff59a36fdcb05a984d718a65 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 10 Apr 2019 16:34:40 +0200 Subject: 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 --- systemd/system/mpd.socket | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'systemd') 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 -- cgit v1.2.3