OrangePi_CM5/external/packages/bsp/common/etc/default/orangepi-ramlog.dpkg-dist

25 lines
915 B
Plaintext
Raw Normal View History

2020-10-30 09:50:39 +08:00
# configuration values for the orangepi-ram-logging service
#
# enable the orangepi-ram-logging service?
ENABLED=true
2020-10-30 09:50:39 +08:00
#
# size of the tmpfs mount -- please keep in mind to adjust /etc/default/orangepi-zram-config too when increasing
SIZE=50M
#
# use rsync instead of cp -r
# requires rsync installed, may provide better performance
# due to copying only new and changed files
USE_RSYNC=true
2022-03-07 16:26:01 +08:00
# If USE_RSYNC is true, additional options may be specified for the rsync
# commands used to synchronize logs to disk from RAM (XTRA_RSYNC_TO) or from
# disk to RAM (XTRA_RSYNC_FROM). These are bash arrays to make specifying
# multiple arguments easy even in the presence of whitespace.
XTRA_RSYNC_TO=(
## If you use log rotation programs that datestamp their logs (e.g., runit's
## svlogd or daemontools' multilog), deleting log files while synchronizing is
## likely a good idea.
# --delete
)
XTRA_RSYNC_FROM=()