Claude Agent
d7b618f02d
feat: Windows Service Wrapper für NexusRMM Agent
- winsvc package mit Build-Tag-basierter plattformspezifischer Implementierung:
- service_windows.go: svc.Handler + Install/Uninstall/Start/Stop via windows/svc/mgr
- service_stub.go: Stub-Implementierungen für nicht-Windows Builds
- main.go refaktoriert:
- os.Executable() für absoluten Config-Pfad (Service-Modus: CWD = C:\Windows\System32)
- Kommandozeilen-Args: install / uninstall / start / stop
- winsvc.IsWindowsService() Erkennung → Service-Modus oder Konsolen-Modus
- Agent-Loop als makeRunFn() extrahiert (wiederverwendbar für beide Modi)
- install-service.ps1: Convenience-Skript zum Bauen, Installieren und Starten
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 10:24:00 +01:00
..
2026-03-19 15:29:11 +01:00
2026-03-19 14:39:49 +01:00
2026-03-19 12:42:52 +01:00
2026-03-19 14:06:40 +01:00
2026-03-19 12:42:52 +01:00
2026-03-19 14:39:49 +01:00
2026-03-19 14:53:35 +01:00
2026-03-19 15:41:24 +01:00
2026-03-20 10:24:00 +01:00