From 0e6a421ca67cd7f12a12e06c37990c5886483d51 Mon Sep 17 00:00:00 2001 From: SeongChan Lee <> Date: Wed, 24 Aug 2022 14:52:40 +0900 Subject: Use tmpfiles.d specifiers instead of fixed path Rootless Docker daemon exposes its API socket on `$XDG_RUNTIME_DIR/docker.sock`. On tmpfiles.d, `%t` is same as `$XDG_RUNTIME_DIR` in `--user` mode, and `/run` otherwise. We can reuse the same config file for both mode with this change. Signed-off-by: SeongChan Lee --- contrib/systemd/system/podman-docker.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/systemd/system/podman-docker.conf b/contrib/systemd/system/podman-docker.conf index e12f19bce..9d5f43101 100644 --- a/contrib/systemd/system/podman-docker.conf +++ b/contrib/systemd/system/podman-docker.conf @@ -1 +1 @@ -L+ /run/docker.sock - - - - /run/podman/podman.sock +L+ %t/docker.sock - - - - %t/podman/podman.sock -- cgit v1.2.3-54-g00ecf