Commit Graph

17 Commits (b25ce00e128815ee31feaeac78b83a511115bf3d)

Author SHA1 Message Date
e345 b25ce00e12
Update action.py : Redirect Docker command output to prevent Python hang
When executing Docker commands via Python, such as `docker kill -s HUP <container>`, the process may hang because the command produces output that blocks the Python subprocess.  

This change appends `> /dev/null` to Docker commands to discard any standard output, ensuring that Python can execute the command without waiting indefinitely.  

Systemd commands remain unchanged, as they do not exhibit the same blocking behavior.
2025-09-22 15:41:50 +08:00
e345 6b7cfd1e86
Update action.py: correct docker kill signal option case
Previously, when handling the reload action, the code used `docker kill -S HUP`.
However, the Docker CLI only supports the lowercase `-s` option.
Using `-S` results in an error and prevents the signal from being sent to the container process.

This change:
- Corrects `kill -S HUP` to `kill -s HUP`
- Ensures that in Docker mode, the reload action can properly send the SIGHUP signal
- Keeps the systemd branch logic unchanged
2025-09-22 13:53:50 +08:00
Aidaho a218caa56c v8.1.8: Refactor exception handling and minor UI updates.
Removed redundant try-except blocks to streamline code and improve readability. Added new fields to JavaScript variables for UI consistency and adjusted HTML structure for better semantics. Removed an unused error message constant.
2025-04-28 09:27:52 +03:00
Aidaho 53d319f5e0 v8.1.7: Add "log" mode, improve metrics, and refactor logging
Extended "mode" options to include "log" for frontend/backend configurations. Enhanced RAM/CPU metrics to better handle remote servers and removed redundant logic. Streamlined logging with structured formatting, improved error handling, and removed unnecessary parameters.
2025-04-05 12:33:22 +03:00
Aidaho a8dfe6e2c4 v8.1.1: Refactor server SQL function names
Replaced multiple SQL function calls with consistent `get_server` naming. Consolidated and streamlined the function calls to `get_server` and `get_server_by_ip` to ensure consistency and improve maintainability across the codebase. Removed obsolete and redundant function definitions that were no longer in use.
2024-11-13 21:52:41 +03:00
Aidaho 8f50e1b8bf v8.0: https://roxy-wi.org/changelog#8 2024-08-02 12:50:02 +03:00
Aidaho 666fc39e1d v7.2.1.0
SQL fixes
2024-03-04 09:34:24 +03:00
Aidaho d1a81f937b v7.2.1.0
https://roxy-wi.org/changelog#7_2_1
2024-03-03 10:11:48 +03:00
Aidaho 2712b25515 v7.1.2.0
Changelog: https://roxy-wi.org/changelog#7.1.2
2024-02-04 10:28:17 +03:00
Aidaho 3bcd2a5077 v7.0.1.0
Changelog: https://roxy-wi.org/changelog#7.0.1
2023-10-16 14:43:58 +03:00
Aidaho f93bdc69bf v7.0.0.0
Changelog: https://roxy-wi.org/changelog#7.0.0
2023-09-19 14:14:46 +03:00
Aidaho 4b168e8fa8 v7.0.0.0
Changelog: https://roxy-wi.org/changelog#7.0.0
2023-09-17 12:42:39 +03:00
Aidaho 3300318616 v6.3.8.0
Changelog: https://roxy-wi.org/changelog#6_3_8
2023-03-25 23:51:48 +03:00
Aidaho 3a4af20d27 v6.3.7.0
Changelog: https://roxy-wi.org/changelog#6_3_7
2023-03-08 16:15:15 +03:00
Aidaho cf87534eb2 v6.3.7.0
Changelog: https://roxy-wi.org/changelog#6_3_7
2023-03-05 20:20:05 +03:00
Pavel Loginov f5651d62c0 v6.3.1.0
Changelog: https://roxy-wi.org/changelog#6_3_1
2022-12-06 10:23:17 +03:00
Pavel Loginov 5a40d50368 v6.3.1.0
Changelog: https://roxy-wi.org/changelog#6_3_1
2022-12-04 21:43:25 +03:00