feat: use different tmpdir
This commit is contained in:
parent
0fc6e2c6bc
commit
9e930dfed5
2 changed files with 2 additions and 0 deletions
|
|
@ -25,3 +25,4 @@
|
||||||
loop:
|
loop:
|
||||||
- "/etc/zot"
|
- "/etc/zot"
|
||||||
- "/var/lib/zot"
|
- "/var/lib/zot"
|
||||||
|
- "/var/tmp/zot"
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ After=network.target auditd.service local-fs.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/zot serve /etc/zot/config.json
|
ExecStart=/usr/bin/zot serve /etc/zot/config.json
|
||||||
|
Environment=TMPDIR=/var/tmp/zot
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
User=root
|
User=root
|
||||||
Group=root
|
Group=root
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue