-
-
Notifications
You must be signed in to change notification settings - Fork 9
tmpdir
Jesús Daniel Colmenares Oviedo edited this page Jun 24, 2023
·
1 revision
AppJail uses a temporary directory to store some files for volatile operations. If there is a power outage, those files will not be deleted, also saving files in this kind of file system is good because that file system is an in-memory file system, so AppJail can take advantage of this to speed it up.
# echo "tmpfs /usr/local/appjail/cache/tmp/.appjail tmpfs rw,late 0 0" | tee -a /etc/fstab
# mount /usr/local/appjail/cache/tmp/.appjail
Remember that the path can be changed via the TMPDIR
variable in the AppJail's configuration file, so check it before changing anything. Also, check if this directory has been created, but simply running AppJail should create it automatically.