6 Commits

Author SHA1 Message Date
5e9bdf02f9 fix(utils): now it can be successfully restarted when deployed as systemd service
- Add `getSystemdServiceName` function to get systemd service name.
- When detected as systemd sevice, use `systemctl restart` to restart the program then exit.
2026-06-04 12:05:09 +08:00
ebc8ced8dd fix: replace all get current path method from "./" to os args 2026-05-11 14:03:00 +08:00
933c12fca1 feat(system): add restart server endpoint with authentication 2026-05-10 18:09:49 +08:00
9ffb4263cf feat(sys): add self-check functionality for system settings and frpc binary 2026-05-07 21:07:16 +08:00
0890c8136f feat(watchdog): add exception handling and webhook integration
- Implement exception handling in TCP client to process error messages
- Add webhook functionality to send notifications for exceptions
- Introduce utility functions for string parsing
- Update config with webhook template
2026-04-28 15:46:31 +08:00
489c37e095 refactor(global): move config to global package and consolidate handlers
- Move Config struct and related functions to global package
- Consolidate handler utilities into utils package
- Remove deprecated handlers and instance packages
- Add new handlers package with settings and proxy functionality
- Update config.json to include watchdog enabled flag
2026-04-22 19:52:33 +08:00