Skip to content

Commit

Permalink
Merge pull request #18 from SUSE-Enceladus/run_as_rmt
Browse files Browse the repository at this point in the history
Run SUSE service as user _rmt and group nginx
  • Loading branch information
schaefi committed Jun 3, 2024
2 parents fddd05b + c395c07 commit a5caae2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion systemd/registry-suse-com.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ Description=Cache update for registry.suse.com

[Service]
Type=simple
ExecStart=cgyle --updatecache local://distribution:/var/lib/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
User=_rmt
Group=nginx
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

0 comments on commit a5caae2

Please sign in to comment.