-
Notifications
You must be signed in to change notification settings - Fork 47
redis.conf
Calin Crisan edited this page Nov 20, 2022
·
3 revisions
The file lives at /data/etc/redis.conf
. It can be provisioned using /boot/redis.conf
and uses /etc/redis.conf
as a default. The file is not present by default and should be created by the user, if redis is needed.
If the file is present, the redis-server daemon will be started to run the Redis server on your system.
Note that redis
package is not enabled by default in thingOS. You'll need to enable it in your configurations to have this functionality.
Here are some details on the file format.
bind 127.0.0.1
protected-mode yes
port 6379
tcp-backlog 16
timeout 0
tcp-keepalive 300
maxmemory 128M
maxmemory-policy noeviction
daemonize yes
supervised no
pidfile /var/run/redis.pid
loglevel notice
logfile /var/log/redis.log
databases 2
save 10 2
stop-writes-on-bgsave-error yes
rdbcompression yes
dir /var/lib/redis/
dbfilename dump.rdb
appendonly no
appendfilename appendonly.aof
appendfsync everysec
no-appendfsync-on-rewrite no
auto-aof-rewrite-percentage 100
auto-aof-rewrite-min-size 64mb
aof-load-truncated yes
- bluetooth.conf
- captive-portal.conf
- cpufreq.conf
- date.conf
- dnsmasq.conf
- docker-compose.yml
- dtoverlays
- dyndns-update.sh
- environment
- firewall.sh
- fstab.user
- hostapd.conf
- ifalias.conf
- localtime
- modprobe.conf
- modules
- mongodb.conf
- netwatch.conf
- ntp.conf
- os.conf
- proftpd.conf
- redis.conf
- smb.conf
- ssh/config
- ssh/sshd_config
- ssl/domain
- ssl/email
- static_ip.conf
- sysctl.conf
- toemmc.conf
- version
- watchdog.conf
- wpa_supplicant.conf