-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
quadlet: Use the new podman create volume --ignore
This way we don't have to use the `ExecCondition=podman volume exist`, which saves one process start. Signed-off-by: Alexander Larsson <[email protected]>
- Loading branch information
1 parent
734c435
commit b7f05ce
Showing
2 changed files
with
2 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
## assert-key-is Unit RequiresMountsFor "%t/containers" | ||
## assert-key-is Service Type oneshot | ||
## assert-key-is Service RemainAfterExit yes | ||
## assert-key-is Service ExecCondition '/usr/bin/bash -c "! /usr/bin/podman volume exists systemd-basic"' | ||
## assert-key-is Service ExecStart "/usr/bin/podman volume create systemd-basic" | ||
## assert-key-is Service ExecStart "/usr/bin/podman volume create --ignore systemd-basic" | ||
## assert-key-is Service SyslogIdentifier "%N" | ||
|
||
[Volume] |