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>
This commit is contained in:
SeongChan Lee
2022-08-24 14:52:40 +09:00
committed by SeongChan Lee
parent 2538bea8da
commit 0e6a421ca6

View File

@ -1 +1 @@
L+ /run/docker.sock - - - - /run/podman/podman.sock
L+ %t/docker.sock - - - - %t/podman/podman.sock