Chris McDonough %!s(int64=19) %!d(string=hai) anos
pai
achega
3b4b233fdd
Modificáronse 1 ficheiros con 14 adicións e 7 borrados
  1. 14 7
      sample.conf

+ 14 - 7
sample.conf

@@ -4,21 +4,21 @@ http_port=127.0.0.1:9001  ; (alternately, ip_address:port specifies AF_INET)
 ;sockchmod=0700              ; AF_UNIX socketmode (AF_INET ignore, default 0700)
 ;sockchown=nobody.nogroup     ; AF_UNIX socket uid.gid owner (AF_INET ignores)
 ;umask=022                   ; (process file creation umask;default 022)
-logfile=supervisord.log     ; (main log file;default $CWD/supervisord.log)
+logfile=/tmp/supervisord.log ; (main log file;default $CWD/supervisord.log)
 logfile_maxbytes=50MB       ; (max main logfile bytes b4 rotation;default 50MB)
 logfile_backups=10          ; (num of main logfile rotation backups;default 10)
 loglevel=info               ; (logging level;default info; others: debug,warn)
-pidfile=supervisord.pid     ; (supervisord pidfile;default $CWD/supervisord.pid)
+pidfile=/tmp/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
 nodaemon=false              ; (start in foreground if true;default false)
-identifier=supervisor       ; (internal identifier;default "supervisor")
 minfds=1024                 ; (min. avail startup file descriptors;default 1024)
 minprocs=200                ; (min. avail process descriptors;default 200)
 backofflimit=3              ; (child process restart seconds;default 3)
 
+;identifier=supervisor       ; (internal identifier;default "supervisor")
 ;nocleanup=true              ; (don't clean up tempfiles at start;default false)
 ;forever=false               ; (keep restarting processes forever;default false)
-;http_username=user        ; (default is no username (open system))
-;http_password=123         ; (default is no password (open system))
+;http_username=user          ; (default is no username (open system))
+;http_password=123           ; (default is no password (open system))
 ;childlogdir=/tmp            ; ('AUTO' child log dir, default $TEMP)
 ;user=chrism                 ; (default is current user, required if root)
 ;directory=/tmp              ; (default is not to cd during start)
@@ -36,8 +36,8 @@ serverurl=http://127.0.0.1:9001 ; use an http:// url to specify an inet socket
 ;autorestart=true            ; retstart at unexpected quit (default: true)
 ;user=chrism                 ; setuid to this UNIX account to run the program
 ;logfile=/var/log/cat.log    ; child log path, use NONE for none; default AUTO
-;logfile_backups=2           ; # of logfile backups if autorotating (default 1)
-;logfile_maxbytes=1MB        ; max # logfile bytes before rotation (default 5MB)
+;logfile_backups=2           ; # of logfile backups (default 10)
+;logfile_maxbytes=1MB        ; max # logfile bytes b4 rotation (default 50MB)
 ;stopsignal=QUIT             ; signal used to kill process (default TERM)
 ;exitcodes=0,2               ; 'expected' exit codes for process (default 0,2)
 ;log_stderr=true             ; if true, stderr mingled w/ stdout log (def false)
@@ -106,6 +106,13 @@ autostart=true
 autorestart=true
 user=chrism
 
+[program:postgres]
+command=/Users/chrism/projects/websafe/dev-sandbox/bin/postmaster
+stopsignal=INT
+
 [program:zope]
 command=/Users/chrism/projects/websafe/dev-sandbox/instances/zope/bin/runzope
+priority=2
 
+[program:zeo]
+command=/Users/chrism/projects/websafe/dev-sandbox/instances/zeo/bin/runzeo