{"action":"closed","issue":{"url":"https://api.github.com/repos/Supervisor/supervisor/issues/212","labels_url":"https://api.github.com/repos/Supervisor/supervisor/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/Supervisor/supervisor/issues/212/comments","events_url":"https://api.github.com/repos/Supervisor/supervisor/issues/212/events","html_url":"https://github.com/Supervisor/supervisor/issues/212","id":10443589,"number":212,"title":"autorestart does not work as advertised","user":{"login":"srwilson","id":836174,"avatar_url":"https://avatars.githubusercontent.com/u/836174?v=3","gravatar_id":"","url":"https://api.github.com/users/srwilson","html_url":"https://github.com/srwilson","followers_url":"https://api.github.com/users/srwilson/followers","following_url":"https://api.github.com/users/srwilson/following{/other_user}","gists_url":"https://api.github.com/users/srwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/srwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srwilson/subscriptions","organizations_url":"https://api.github.com/users/srwilson/orgs","repos_url":"https://api.github.com/users/srwilson/repos","events_url":"https://api.github.com/users/srwilson/events{/privacy}","received_events_url":"https://api.github.com/users/srwilson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2013-01-30T02:23:29Z","updated_at":"2015-07-23T02:11:55Z","closed_at":"2015-07-23T02:11:55Z","body":"I'm running 3.0b1 and noticed the following error.  With the program:\r\n\r\n```\r\n[program:foo]\r\ncommand=ls\r\nautorestart=False\r\n```\r\n\r\nThe process repeatedly restarts\r\n\r\n```\r\n2013-01-29 18:21:10,434 INFO RPC interface 'supervisor' initialized\r\n2013-01-29 18:21:10,434 CRIT Server 'inet_http_server' running without any HTTP authentication checking\r\n2013-01-29 18:21:10,435 INFO supervisord started with pid 18680\r\n2013-01-29 18:21:11,437 INFO spawned: 'foo' with pid 18941\r\n2013-01-29 18:21:11,447 INFO exited: foo (exit status 0; not expected)\r\n2013-01-29 18:21:12,449 INFO spawned: 'foo' with pid 18943\r\n2013-01-29 18:21:12,461 INFO exited: foo (exit status 0; not expected)\r\n2013-01-29 18:21:14,464 INFO spawned: 'foo' with pid 18966\r\n2013-01-29 18:21:14,473 INFO exited: foo (exit status 0; not expected)\r\n2013-01-29 18:21:17,476 INFO spawned: 'foo' with pid 18969\r\n2013-01-29 18:21:17,484 INFO exited: foo (exit status 0; not expected)\r\n2013-01-29 18:21:18,485 INFO gave up: foo entered FATAL state, too many start retries too quickly\r\n```\r\n\r\nThe unexpected options seems to fail too:\r\n\r\n```\r\n[program:foo]\r\ncommand=ls\r\nautorestart=unexpected\r\nexitcodes=0\r\n```\r\n\r\n```\r\n2013-01-29 18:22:48,026 INFO RPC interface 'supervisor' initialized\r\n2013-01-29 18:22:48,027 CRIT Server 'inet_http_server' running without any HTTP authentication checking\r\n2013-01-29 18:22:48,027 INFO supervisord started with pid 19955\r\n2013-01-29 18:22:49,029 INFO spawned: 'foo' with pid 19960\r\n2013-01-29 18:22:49,038 INFO exited: foo (exit status 0; not expected)\r\n2013-01-29 18:22:50,041 INFO spawned: 'foo' with pid 19961\r\n2013-01-29 18:22:50,048 INFO exited: foo (exit status 0; not expected)\r\n2013-01-29 18:22:52,050 INFO spawned: 'foo' with pid 19962\r\n2013-01-29 18:22:52,058 INFO exited: foo (exit status 0; not expected)\r\n2013-01-29 18:22:55,063 INFO spawned: 'foo' with pid 19972\r\n2013-01-29 18:22:55,072 INFO exited: foo (exit status 0; not expected)\r\n2013-01-29 18:22:56,073 INFO gave up: foo entered FATAL state, too many start retries too quickly\r\n```"}}