mirror of
https://github.com/containers/podman.git
synced 2025-09-09 21:52:21 +08:00

* Add podman-restart systemd unit file and add it to podman RPM package * Fix podman start to filter all containers + unit test Signed-off-by: Boaz Shuster <boaz.shuster.github@gmail.com>
13 lines
318 B
Desktop File
13 lines
318 B
Desktop File
[Unit]
|
|
Description=Podman Start All Containers With Restart Policy Set To Always
|
|
Documentation=man:podman-start(1)
|
|
StartLimitIntervalSec=0
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
Environment=LOGGING="--log-level=info"
|
|
ExecStart=/usr/bin/podman $LOGGING start --all --filter restart-policy=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|