Redirect Redis log to supervisord log (#11994)

This commit is contained in:
geekup-legodevops 2022-03-21 13:29:40 +07:00 committed by GitHub
parent 91ead4f864
commit 70096450d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,8 @@
[program:redis]
directory=/etc/redis
command=redis-server redis.conf --daemonize no
; The empty string is used to force Redis to log to stdout
; so that supervisor can capture it
command=redis-server redis.conf --daemonize no --logfile ""
priority=5
autostart=true
autorestart=true