浏览代码

*** empty log message ***

Chris McDonough 18 年之前
父节点
当前提交
bff01e099b
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      UPGRADING.txt

+ 11 - 0
UPGRADING.txt

@@ -18,3 +18,14 @@ Upgrading from supervisor 2 to supervisor 3
 
    [rpcinterface:supervisor]
    supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
+
+- The semantics of the 'autorestart' parameter within '[program:x]'
+  sections has changed.  This parameter used to accept only 'true' or
+  'false'.  It now accepts an additional value 'unexpected', which
+  indicates that the process should restart from the EXITED state only
+  if its exit code does not match any of those represented by the
+  'exitcode' parameter in the process' configuration (IOW, a process
+  crash)a.  In addition, the *default* for autorestart is now
+  'unexpected' (it used to be 'true', which meant restart
+  unconditionally).
+