You've already forked haproxy-wi
mirror of
https://github.com/roxy-wi/roxy-wi.git
synced 2025-12-15 11:54:05 +08:00
Merge pull request #424 from e345/patch-1
Update action.py: correct docker kill signal option case
This commit is contained in:
@@ -56,7 +56,7 @@ 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'
|
||||
action = 'kill -s HUP'
|
||||
commands = f"sudo docker {action} {container_name}"
|
||||
else:
|
||||
service_name = service_common.get_correct_service_name(service, server_id)
|
||||
|
||||
Reference in New Issue
Block a user