Compare commits

..

No commits in common. "master" and "v8.2.3" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -56,8 +56,8 @@ def get_action_command(service: str, action: str, server_id: int) -> str:
if is_docker == '1':
container_name = sql.get_setting(f'{service}_container_name')
if action == 'reload':
action = 'kill -s HUP'
commands = f"sudo docker {action} {container_name} > /dev/null"
action = 'kill -S HUP'
commands = f"sudo docker {action} {container_name}"
else:
service_name = service_common.get_correct_service_name(service, server_id)
commands = f"sudo systemctl {action} {service_name}"