diff options
Diffstat (limited to 'contrib/systemd/auto-update/podman-auto-update.service.in')
-rw-r--r-- | contrib/systemd/auto-update/podman-auto-update.service.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/systemd/auto-update/podman-auto-update.service.in b/contrib/systemd/auto-update/podman-auto-update.service.in new file mode 100644 index 000000000..de4460d60 --- /dev/null +++ b/contrib/systemd/auto-update/podman-auto-update.service.in @@ -0,0 +1,13 @@ +[Unit] +Description=Podman auto-update service +Documentation=man:podman-auto-update(1) +Wants=network-online.target +After=network-online.target + +[Service] +Type=oneshot +ExecStart=@@PODMAN@@ auto-update +ExecStartPost=@@PODMAN@@ image prune -f + +[Install] +WantedBy=multi-user.target default.target |