- Added cron task to cleanup log files older than 7 days to run weekly. - Updated supervisor log rotation config to store only 2 backups for all processes.
16 lines
485 B
Plaintext
16 lines
485 B
Plaintext
[program:postgres]
|
|
directory=/appsmith-stacks/data/postgres/main
|
|
user=postgres
|
|
command=/usr/lib/postgresql/13/bin/postgres -D "/appsmith-stacks/data/postgres/main" -c listen_addresses=127.0.0.1
|
|
autostart=true
|
|
autorestart=true
|
|
stdout_logfile=/appsmith-stacks/logs/%(program_name)s/%(program_name)s.log
|
|
redirect_stderr=true
|
|
stdout_logfile_maxbytes=10MB
|
|
stderr_logfile_maxbytes=10MB
|
|
stdout_logfile_backups=2
|
|
stderr_logfile_backups=2
|
|
stdout_events_enabled=true
|
|
stderr_events_enabled=true
|
|
|