Explorar el Código

The sample configuration output by "echo_supervisord_conf" now correctly
shows the default for "autorestart" as "unexpected". Thanks to
William Dode for noticing it showed the wrong value.

Mike Naberezny hace 15 años
padre
commit
551fa92e9b
Se han modificado 2 ficheros con 5 adiciones y 1 borrados
  1. 4 0
      CHANGES.txt
  2. 1 1
      src/supervisor/skel/sample.conf

+ 4 - 0
CHANGES.txt

@@ -54,6 +54,10 @@ Next Release
   - Removed use of collections.deque in our bundled version of asynchat
     because it broke compatibility with Python 2.3.
 
+  - The sample configuration output by "echo_supervisord_conf" now correctly
+    shows the default for "autorestart" as "unexpected".  Thanks to
+    William Dode for noticing it showed the wrong value.
+
 3.0a7 (2009-05-24)
  
   - We now bundle our own patched version of Medusa contributed by Jason

+ 1 - 1
src/supervisor/skel/sample.conf

@@ -92,7 +92,7 @@ serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL  for a unix socket
 ;umask=022                     ; umask for process (default None)
 ;priority=-1                   ; the relative start priority (default -1)
 ;autostart=true                ; start at supervisord start (default: true)
-;autorestart=true              ; retstart at unexpected quit (default: true)
+;autorestart=unexpected        ; restart at unexpected quit (default: unexpected)
 ;startsecs=10                  ; number of secs prog must stay running (def. 1)
 ;startretries=3                ; max # of serial start failures (default 3)
 ;exitcodes=0,2                 ; 'expected' exit codes for process (default 0,2)