// Copyright 2024 The Gitea Authors and MarketAlly. All rights reserved. // SPDX-License-Identifier: MIT //go:build !windows package service import ( "context" ) // IsWindowsService returns false on non-Windows platforms func IsWindowsService() bool { return false } // RunAsService is a no-op on non-Windows platforms func RunAsService(serviceName string, run func(ctx context.Context)) error { return nil } // GetServiceName returns empty on non-Windows platforms func GetServiceName() string { return "" }