[supervisord] logfile_maxbytes=1MB logfile_backups=2 nodaemon=true [program:rsyslogd] command=/bin/bash -c "rm -f /var/run/rsyslogd.pid && /usr/sbin/rsyslogd -n" priority=1 autostart=true autorestart=false stdout_logfile=syslog stderr_logfile=syslog [program:redis-server] command=/bin/bash -c "{ [[ -s /var/lib/redis/dump.rdb ]] || rm -f /var/lib/redis/dump.rdb; } && exec /usr/bin/redis-server /etc/redis/redis.conf" priority=2 autostart=true autorestart=false stdout_logfile=syslog stderr_logfile=syslog