mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-02-18 00:17:39 +01:00
Port Windows SCM integration from pulse-host-agent to pulse-agent, enabling the unified agent to run as a Windows service with proper start/stop handling and event logging. Related to #766
13 lines
221 B
Go
13 lines
221 B
Go
//go:build !windows
|
|
|
|
package main
|
|
|
|
import (
|
|
"github.com/rs/zerolog"
|
|
)
|
|
|
|
// runAsWindowsService is a no-op on non-Windows platforms
|
|
func runAsWindowsService(_ Config, _ zerolog.Logger) (bool, error) {
|
|
return false, nil
|
|
}
|