mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-21 15:17:59 +00:00
Do not set RemainAfterExit=yes by default when converting Quadlet .volume files to systemd oneshot services. Setting RemainAfterExit=yes causes systemd to consider the volume service active even after the volume is deleted manually, preventing systemd from re-executing volume creation when dependent container services restart. Fixes #27862 Signed-off-by: Sachin Mahajan <sachinmahajan903@gmail.com>
7 lines
287 B
Text
7 lines
287 B
Text
## assert-key-is Unit RequiresMountsFor "%t/containers"
|
|
## assert-key-is Service Type oneshot
|
|
## !assert-key-is Service RemainAfterExit yes
|
|
## assert-key-is-regex Service ExecStart ".*/podman volume create --ignore systemd-basic"
|
|
## assert-key-is Service SyslogIdentifier "%N"
|
|
|
|
[Volume]
|