2020-10-30 09:50:39 +08:00
|
|
|
# configuration values for the orangepi-ram-logging service
|
|
|
|
|
#
|
|
|
|
|
# enable the orangepi-ram-logging service?
|
2022-04-08 20:05:16 +08:00
|
|
|
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.
|
2022-04-12 14:37:11 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
|
#XTRA_RSYNC_TO=(--delete)
|
|
|
|
|
XTRA_RSYNC_FROM=()
|
2022-03-07 16:26:01 +08:00
|
|
|
XTRA_RSYNC_FROM=()
|