summaryrefslogtreecommitdiff
path: root/contrib/systemd/system/podman-restart.service
blob: baf12b3aed085ee1d0e6b3cb2ae3267fcfb419cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[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