2021-09-01 05:32:08 +00:00
|
|
|
[program:redis]
|
|
|
|
|
directory=/etc/redis
|
2023-09-05 07:08:51 +00:00
|
|
|
; The `--save` is for saving session data to disk more often, so recent sessions aren't cleared on restart.
|
|
|
|
|
; The empty string to `--logfile` is for logging to stdout so that supervisor can capture it.
|
|
|
|
|
command=redis-server --save 15 1 --dir /appsmith-stacks/data/redis --daemonize no --logfile ""
|
2021-09-01 05:32:08 +00:00
|
|
|
priority=5
|
|
|
|
|
autostart=true
|
|
|
|
|
autorestart=true
|
|
|
|
|
startsecs=0
|
|
|
|
|
startretries=3
|
2021-10-19 07:29:55 +00:00
|
|
|
stdout_logfile=/appsmith-stacks/logs/%(program_name)s/%(program_name)s.log
|
|
|
|
|
redirect_stderr=true
|
|
|
|
|
stdout_logfile_maxbytes=10MB
|
|
|
|
|
stderr_logfile_maxbytes=10MB
|
2023-05-11 14:40:37 +00:00
|
|
|
stdout_logfile_backups=2
|
|
|
|
|
stderr_logfile_backups=2
|
2021-10-19 07:29:55 +00:00
|
|
|
stdout_events_enabled=true
|
2023-09-05 07:08:51 +00:00
|
|
|
stderr_events_enabled=true
|