diff --git a/systemd/registry-suse-com.service b/systemd/registry-suse-com.service index 6c84759..d395c23 100644 --- a/systemd/registry-suse-com.service +++ b/systemd/registry-suse-com.service @@ -7,4 +7,5 @@ User=_rmt Group=nginx RuntimeMaxSec=5h Restart=on-failure +ExecStartPre=/bin/bash -c "rm -rf /tmp/containers-user-$(id -u _rmt)" ExecStart=cgyle --updatecache local://distribution:/var/lib/rmt/public/repo/registry --proxy-creds /etc/rmt.conf --registry-creds /etc/rmt.conf --from https://registry.suse.com --filter-policy /etc/rmt/access_policies.yml --skip-policy-section free --arch x86_64 --arch aarch64 --arch arm64 --arch amd64 --apply