✏️ 编辑:podman-clean-transient.service
路径:
/usr/lib/systemd/system/podman-clean-transient.service
大小:667 B · 修改:2026-09-22 22:01:26 · 权限:0644 · 只读(保存会失败)
← 返回目录
👁 查看
⬇ 下载
# This service runs once each boot to remove potential leftover # container state from previous boots. # This is needed when using transient storage mode in podman where the # database and other configs are stored in tmpfs, but some other files # are not. If we don't run this after an unclean boot then there may # be some leftover files that grow over time. [Unit] Description=Clean up podman transient data RequiresMountsFor=%t/containers Documentation=man:podman-system-prune(1) Requires=boot-complete.target After=local-fs.target boot-complete.target [Service] Type=oneshot ExecStart=/usr/bin/podman system prune --external [Install] WantedBy=default.target
💾 保存
取消
保存为 UTF-8,换行统一为 LF