Service starting with logs

This commit is contained in:
Owen
2025-07-23 22:05:35 -07:00
parent 5fedc2bef1
commit e4c030516b
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")
}