Commit 9681cd4
committed
pkgdiff-mg: under systemd use /var/tmp as default TMPDIR
pkgdiff can cause large files in the used temprorary directory that
are not cleaned up on exit. Using /tmp for those, which is often a
tmpfs, which means that the files consume main memory at first. Later
the system may move the unused files on the tmpfs into swap.
Under systemd, using /var/tmp for files that are not deleted by the
creator, which is pkgdiff-mg in our case, is safe, since systemd will
automatically delete old unused files from /var/tmp.
Signed-off-by: Florian Schmaus <flow@gentoo.org>1 parent 935d201 commit 9681cd4
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
| |||
0 commit comments