summaryrefslogtreecommitdiff
path: root/contrib/systemd/system/podman-restart.service.in
blob: 46193e2c6170d299e7ca2207b31851c99ac7fe39 (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=@@PODMAN@@ $LOGGING start --all --filter restart-policy=always

[Install]
WantedBy=multi-user.target default.target