mirror of
https://github.com/containers/podman.git
synced 2025-06-20 09:03:43 +08:00
Merge pull request #8241 from rhatdan/tmpfile
Use /tmp/podman-run-* for backup XDG_RUNTIME_DIR
This commit is contained in:
@ -509,6 +509,7 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
|
||||
%{_usr}/lib/systemd/user/podman.socket
|
||||
%{_usr}/lib/systemd/user/podman-auto-update.service
|
||||
%{_usr}/lib/systemd/user/podman-auto-update.timer
|
||||
%{_usr}/lib/tmpfiles.d/podman.conf
|
||||
|
||||
%if 0%{?with_devel}
|
||||
%files -n libpod-devel -f devel.file-list
|
||||
|
4
contrib/tmpfile/podman.conf
Normal file
4
contrib/tmpfile/podman.conf
Normal file
@ -0,0 +1,4 @@
|
||||
# /tmp/podman-run-* directory can contain content for Podman containers that have run
|
||||
# for many days. This following line prevents systemd from removing this content.
|
||||
x /tmp/podman-run-.*
|
||||
d /run/podman 0700 root root
|
@ -1 +0,0 @@
|
||||
d /run/podman 0700 root root
|
Reference in New Issue
Block a user