You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
autorestart doesn't appear to be present in the config object:
configinfo = []
for gconfig in self.supervisord.options.process_group_configs:
inuse = gconfig.name in self.supervisord.process_groups
for pconfig in gconfig.process_configs:
d = {'autostart': pconfig.autostart,
'directory': pconfig.directory,
'uid': pconfig.uid,
'command': pconfig.command,
'exitcodes': pconfig.exitcodes,
'group': gconfig.name,
'group_prio': gconfig.priority,
'inuse': inuse,
'killasgroup': pconfig.killasgroup,
'name': pconfig.name,
'process_prio': pconfig.priority,
'redirect_stderr': pconfig.redirect_stderr,
'startretries': pconfig.startretries,
'startsecs': pconfig.startsecs,
'stdout_capture_maxbytes': pconfig.stdout_capture_maxbytes,
'stdout_events_enabled': pconfig.stdout_events_enabled,
'stdout_logfile': pconfig.stdout_logfile,
'stdout_logfile_backups': pconfig.stdout_logfile_backups,
'stdout_logfile_maxbytes': pconfig.stdout_logfile_maxbytes,
'stdout_syslog': pconfig.stdout_syslog,
'stopsignal': int(pconfig.stopsignal), # enum on py3
'stopwaitsecs': pconfig.stopwaitsecs,
'stderr_capture_maxbytes': pconfig.stderr_capture_maxbytes,
'stderr_events_enabled': pconfig.stderr_events_enabled,
'stderr_logfile': pconfig.stderr_logfile,
'stderr_logfile_backups': pconfig.stderr_logfile_backups,
'stderr_logfile_maxbytes': pconfig.stderr_logfile_maxbytes,
'stderr_syslog': pconfig.stderr_syslog,
'serverurl': pconfig.serverurl,
}
# no support for these types in xml-rpc
d.update((k, 'auto') for k, v in d.items() if v is Automatic)
d.update((k, 'none') for k, v in d.items() if v is None)
configinfo.append(d)
The text was updated successfully, but these errors were encountered:
supervisor/supervisor/rpcinterface.py
Line 567 in e5701cd
autorestart doesn't appear to be present in the config object:
The text was updated successfully, but these errors were encountered: