From 302b3084ebadb13a0b203eac63e24b0e5d3535a0 Mon Sep 17 00:00:00 2001 From: Boaz Shuster Date: Tue, 8 Jun 2021 00:41:10 +0300 Subject: Restart all containers with restart-policy=always on boot * 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 --- contrib/systemd/system/podman.service | 3 +++ 1 file changed, 3 insertions(+) (limited to 'contrib/systemd/system/podman.service') diff --git a/contrib/systemd/system/podman.service b/contrib/systemd/system/podman.service index 7e5195e7a..cefb13ae3 100644 --- a/contrib/systemd/system/podman.service +++ b/contrib/systemd/system/podman.service @@ -10,3 +10,6 @@ Type=exec KillMode=process Environment=LOGGING="--log-level=info" ExecStart=/usr/bin/podman $LOGGING system service + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3-54-g00ecf