mirror of
https://github.com/R0m1k3/Loki.git
synced 2026-10-17 04:10:04 +02:00
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:
1 parent
2862a2f27a
commit
deb05f50ea
5 files changed
+309
-3
No files matched your search
+2
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user