summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorSeongChan Lee <>2022-08-24 14:52:40 +0900
committerSeongChan Lee <foriequal@gmail.com>2022-08-24 15:45:50 +0900
commit0e6a421ca67cd7f12a12e06c37990c5886483d51 (patch)
treef54b7ef73f6eb9fdd46e79b10814adc84be65dae /contrib
parent2538bea8da2a4dba96f1c80594a66f6319d2d872 (diff)
downloadpodman-0e6a421ca67cd7f12a12e06c37990c5886483d51.tar.gz
podman-0e6a421ca67cd7f12a12e06c37990c5886483d51.tar.bz2
podman-0e6a421ca67cd7f12a12e06c37990c5886483d51.zip
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 <foriequal@gmail.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/systemd/system/podman-docker.conf2
1 files changed, 1 insertions, 1 deletions
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