feat: use different tmpdir

This commit is contained in:
Simon Cornet 2026-05-08 09:04:37 +02:00
commit 9e930dfed5
2 changed files with 2 additions and 0 deletions

View file

@ -25,3 +25,4 @@
loop:
- "/etc/zot"
- "/var/lib/zot"
- "/var/tmp/zot"

View file

@ -6,6 +6,7 @@ After=network.target auditd.service local-fs.target
[Service]
Type=simple
ExecStart=/usr/bin/zot serve /etc/zot/config.json
Environment=TMPDIR=/var/tmp/zot
Restart=on-failure
User=root
Group=root