summaryrefslogtreecommitdiff
path: root/contrib/systemd/system/podman-restart.service
blob: ebc83bd365283c6ca33b2f13b36db50fccf37a00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Podman Start All Containers With Restart Policy Set To Always
Documentation=man:podman-start(1)
StartLimitIntervalSec=0

[Service]
Type=oneshot
RemainAfterExit=true
Environment=LOGGING="--log-level=info"
ExecStart=/usr/bin/podman $LOGGING start --all --filter restart-policy=always

[Install]
WantedBy=default.target