Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/systemd/quadlet/quadlet.go
Original file line number Diff line number Diff line change
Expand Up @@ -1220,7 +1220,7 @@ func ConvertVolume(volume *parser.UnitFile, unitsInfoMap map[string]*UnitInfo, i

service.AddCmdline(ServiceGroup, "ExecStart", podman.Args)

defaultOneshotServiceGroup(service, true)
defaultOneshotServiceGroup(service, false)

// Store the name of the created resource
unitInfo.ResourceName = volumeName
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/quadlet/basic.volume
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## assert-key-is Unit RequiresMountsFor "%t/containers"
## assert-key-is Service Type oneshot
## assert-key-is Service RemainAfterExit yes
## !assert-key-is Service RemainAfterExit yes
## assert-key-is-regex Service ExecStart ".*/podman volume create --ignore systemd-basic"
## assert-key-is Service SyslogIdentifier "%N"

Expand Down