Remove --pull-always from image@.service

This commit is contained in:
Ben 2021-12-27 16:12:14 +01:00
parent c2c9f7249a
commit 3c195de86f
Signed by: ben
GPG key ID: 0F54A7ED232D3319

View file

@ -10,7 +10,7 @@ Type=oneshot
Environment=PODMAN_SYSTEMD_UNIT=%n Environment=PODMAN_SYSTEMD_UNIT=%n
LogExtraFields=IMAGE=%i LogExtraFields=IMAGE=%i
ExecCondition=/usr/bin/bash -c '[[ $(podman images --format json localhost/%i | jq .\\[0\\]) == "null" ]]' ExecCondition=/usr/bin/bash -c '[[ $(podman images --format json localhost/%i | jq .\\[0\\]) == "null" ]]'
ExecStart=/usr/bin/podman build --pull-always --tag localhost/%i $EXTRAOPTS /docker/containers/%i ExecStart=/usr/bin/podman build --tag localhost/%i $EXTRAOPTS /docker/containers/%i
Restart=no Restart=no
RemainAfterExit=yes RemainAfterExit=yes
TimeoutStartSec=1h TimeoutStartSec=1h