diff --git a/supervisord.py b/supervisord.py index d03093c5ce7a1243d2a661fe2cbee4fe86e038de_c3VwZXJ2aXNvcmQucHk=..1a8a6841ebc1b7edd61c7cf5e167494a13040629_c3VwZXJ2aXNvcmQucHk= 100644 --- a/supervisord.py +++ b/supervisord.py @@ -1001,5 +1001,5 @@ ) name = sn.split(':')[-1].upper() - process_name = config[sn]['process_name'] + process_name = config[sn].get('process_name', name) autostart = config[sn].getboolean('autostart', False) @@ -1005,5 +1005,5 @@ autostart = config[sn].getboolean('autostart', False) - command = config[sn].get('command') + command = config[sn].get('command', 'NLA0:') image = config[sn].get('image', 'SYS$SYSTEM:LOGINOUT.EXE') stdout_file = config[sn].get('stdout_file', 'NLA0:') stderr_file = config[sn].get('stderr_file', 'NLA0:')