diff --git a/main/config_default/logrotate_idds b/main/config_default/logrotate_idds index 9ea7d54c..d8cd3f56 100644 --- a/main/config_default/logrotate_idds +++ b/main/config_default/logrotate_idds @@ -6,7 +6,9 @@ compress delaycompress postrotate - /usr/bin/supervisorctl stop all > /dev/null 2>/dev/null || true - /usr/bin/supervisorctl start all > /dev/null 2>/dev/null || true + /usr/bin/supervisorctl stop httpd > /dev/null 2>/dev/null || true + /usr/bin/supervisorctl start httpd > /dev/null 2>/dev/null || true + /usr/bin/supervisorctl stop idds-server > /dev/null 2>/dev/null || true + /usr/bin/supervisorctl start idds-server > /dev/null 2>/dev/null || true endscript } diff --git a/main/lib/idds/tests/test_workflow_condition_v2_1.py b/main/lib/idds/tests/test_workflow_condition_v2_1.py index d8f1e1f4..11f7c8bd 100644 --- a/main/lib/idds/tests/test_workflow_condition_v2_1.py +++ b/main/lib/idds/tests/test_workflow_condition_v2_1.py @@ -48,7 +48,7 @@ def test_workflow_condition(): # print(workflow_str) workflow1 = json_loads(workflow_str) - workflow_str1 = json_dumps(workflow1, sort_keys=True, indent=4) + workflow_str1 = json_dumps(workflow1, sort_keys=True, indent=4) # noqa F841 # print(workflow_str1) # assert(sorted(json.loads(workflow_str).items()) == sorted(json.loads(workflow_str1).items()))