Service starting with logs

Former-commit-id: e4c030516b
This commit is contained in:
Owen
2025-07-23 22:05:35 -07:00
parent 4d33016389
commit 25a9b83496
3 changed files with 87 additions and 7 deletions

View File

@@ -15,7 +15,8 @@ func removeService() error {
return fmt.Errorf("service management is only available on Windows")
}
func startService() error {
func startService(args []string) error {
_ = args // unused on Unix platforms
return fmt.Errorf("service management is only available on Windows")
}
@@ -27,7 +28,8 @@ func getServiceStatus() (string, error) {
return "", fmt.Errorf("service management is only available on Windows")
}
func debugService() error {
func debugService(args []string) error {
_ = args // unused on Unix platforms
return fmt.Errorf("debug service is only available on Windows")
}