diff options
author | SeongChan Lee <> | 2022-08-24 14:52:40 +0900 |
---|---|---|
committer | SeongChan Lee <foriequal@gmail.com> | 2022-08-24 15:45:50 +0900 |
commit | 0e6a421ca67cd7f12a12e06c37990c5886483d51 (patch) | |
tree | f54b7ef73f6eb9fdd46e79b10814adc84be65dae /contrib | |
parent | 2538bea8da2a4dba96f1c80594a66f6319d2d872 (diff) | |
download | podman-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.conf | 2 |
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 |