diff --git a/lib/framework/version.py b/lib/framework/version.py index 81e510f..6fe0eb5 100644 --- a/lib/framework/version.py +++ b/lib/framework/version.py @@ -1 +1 @@ -VERSION="4.0.3" \ No newline at end of file +VERSION="4.0.4" \ No newline at end of file diff --git a/lib/system/mod_setting.py b/lib/system/mod_setting.py index 90dd5d3..7bd4f13 100644 --- a/lib/system/mod_setting.py +++ b/lib/system/mod_setting.py @@ -37,7 +37,7 @@ class ModuleSetting(PluginModuleBase): 'notify.yaml': '', #직접 사용하지 않으나 저장 편의상. 'command_text': '', 'celery_start_by_web': 'False', #웹 실행시 celery 실행 - 'celery_start_command': "celery -A flaskfarm.main.celery worker --workdir={F.config['path_working']} --loglevel=info --pool=gevent --concurrency=2 --config_filepath={F.config['config_filepath']} --running_type=native", + 'celery_start_command': "celery -A flaskfarm.main.celery worker --loglevel=info --pool=gevent --concurrency=2 --config_filepath={F.config['config_filepath']} --running_type=native", } @@ -205,8 +205,8 @@ class ModuleSetting(PluginModuleBase): command = command.split(' ') if mode == 'foreground': cmd = [ - ['msg', f'명령 : {command}'], - command.split(' '), + ['msg', f'명령 : {' '.join(command)}'], + command, ] ToolModalCommand.start("Celery 실행", cmd) elif mode == 'background': diff --git a/lib/system/templates/system_setting_celery.html b/lib/system/templates/system_setting_celery.html index b779ecc..febce7d 100644 --- a/lib/system/templates/system_setting_celery.html +++ b/lib/system/templates/system_setting_celery.html @@ -16,7 +16,7 @@ {{ macros.setting_input_textarea('celery_start_command', 'celery 실행 명령', desc=['', - '예: celery -A flaskfarm.main.celery worker --workdir={F.config["path_working"]} --loglevel=info --pool=gevent --concurrency=2 --config_filepath={F.config["config_filepath"]} --running_type=native', + '예: celery -A flaskfarm.main.celery worker --loglevel=info --pool=gevent --concurrency=2 --config_filepath={F.config["config_filepath"]} --running_type=native', '', '패키지로 실행시 : -A flaskfarm.main.celery', 'Git 소스로 실행시 : -A main.celery', '',