enable mounting tmpfs volume on start

This commit is contained in:
Blake Blackshear
2020-12-20 08:00:07 -06:00
parent 5b5159f4dd
commit 247e2677f3
3 changed files with 20 additions and 1 deletions

View File

@@ -242,6 +242,10 @@ save_clips:
# NOTE: If an object is being tracked for longer than this amount of time, the cache
# will begin to expire and the resulting clip will be the last x seconds of the event.
max_seconds: 300
# Optional: size of tmpfs mount to create for cache files (default: not set)
# mount -t tmpfs -o size={tmpfs_cache_size} tmpfs /tmp/cache
# Notice: If you have mounted a tmpfs volume through docker, this value should not be set in your config
tmpfs_cache_size: 256m
# Optional: Retention settings for clips (default: shown below)
retain:
# Required: Default retention days (default: shown below)