Created
October 23, 2017 15:22
-
-
Save channeng/3414510a199798d768e8f865e33a0e04 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; ================================ | |
| ; redis supervisor | |
| ; ================================ | |
| [program:redis] | |
| command=/path/to/celery-scheduler/redis-3.2.1/src/redis-server | |
| directory=/path/to/celery-scheduler/redis-3.2.1 | |
| user=root | |
| numprocs=1 | |
| stdout_logfile=/var/log/redis/redis.log | |
| stderr_logfile=/var/log/redis/redis_err.log | |
| autostart=true | |
| autorestart=true | |
| startsecs=10 | |
| ; Causes supervisor to send the termination signal (SIGTERM) to the whole process group. | |
| stopasgroup=true | |
| ; if rabbitmq is supervised, set its priority higher | |
| ; so it starts first | |
| priority=998 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment