Launch supervisord when running supervisorctl

parent 9577e722
...@@ -161,6 +161,8 @@ Typical usage: ...@@ -161,6 +161,8 @@ Typical usage:
def supervisorctl(*argument_tuple): def supervisorctl(*argument_tuple):
option_dict, args = getOptionDict(*argument_tuple) option_dict, args = getOptionDict(*argument_tuple)
import supervisor.supervisorctl import supervisor.supervisorctl
launchSupervisord(option_dict['supervisord_socket'],
option_dict['supervisord_configuration_path'])
supervisor.supervisorctl.main(args=['-c', supervisor.supervisorctl.main(args=['-c',
option_dict['supervisord_configuration_path']] + args) option_dict['supervisord_configuration_path']] + args)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment