macOS: support launchd (install/start/stop/logs) au lieu du code systemd hérité (#4) — non testé sur Mac. Isole le code Linux dans *_linux.go, ajoute *_darwin.go

This commit is contained in:
nathaninline committed 2026-07-07 13:36:30 +02:00
1 parent 2862a2f27a
commit deb05f50ea
5 files changed
+309 -3

No files matched your search

+2 -1
View File
@@ -10,7 +10,8 @@ import (
// service.go holds the platform-neutral pieces of service management. The
// actual start/stop/restart/status/logs implementation is platform-specific:
// - service_unix.go → systemd (systemctl/journalctl)
// - service_linux.go → systemd (systemctl/journalctl)
// - service_darwin.go → launchd (launchctl)
// - service_windows.go → PID-file background process supervisor
//
// editConfig and showVram live here because they work the same everywhere.