Permalink
Browse files

added an example supervisor config for redis. closes #34

  • Loading branch information...
1 parent 2246c52 commit cafcd709c31dd69d7fb5e6c63ab02a634b6e1208 @josegonzalez josegonzalez committed Nov 25, 2012
Showing with 18 additions and 0 deletions.
  1. +18 −0 contrib/beaver-supervisor.conf
@@ -0,0 +1,18 @@
+[program:beaver]
+directory=/tmp
+command=/usr/local/bin/beaver
+process_name=%(program_name)s%(process_num)02d
+numprocs=1
+autostart=true
+autorestart=unexpected
+startsecs=2
+startretries=3
+exitcodes=0,2
+stopsignal=QUIT
+stopwaitsecs=10
+user=root
+redirect_stderr=true
+stdout_logfile=/var/log/beaver.log
+stdout_logfile_maxbytes=10MB
+stdout_logfile_backups=10
+environment=PYTHONUNBUFFERED=1,BEAVER_FILES="/var/log/syslog",BEAVER_TRANSPORT="redis",REDIS_NAMESPACE='logstash',REDIS_URL="redis://redis:6379/0"

0 comments on commit cafcd70

Please sign in to comment.