Fix headless mode: use sleep loop instead of CLI mode (prevent EOF exit)

- Headless now keeps server alive with asyncio.sleep(1) loop
- CLI mode only for non-headless fallback
- Enables running SenSu as daemon/service
This commit is contained in:
qinglong
2026-06-11 13:02:56 +08:00
parent 885929f3ff
commit 6918ee6514
3 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
http_port: 4200
last_updated: 252439.682639846
last_updated: 274185.481265509
plugin_routes:
example_plugin:
- methods: