//go:build !linux && !windows package service import "fmt" // Service installation is only implemented for systemd and Windows services. // On other platforms the client still runs normally, it just has to be // started by whatever init system is in use. // // This file exists so the client compiles for those targets at all: without // it the whole binary is unbuildable there, even though nothing but service // installation is actually missing. func Install(mode, configPath string) error { return fmt.Errorf("service installation is not implemented on this platform; " + "start the client from your init system instead") } func Uninstall() error { return fmt.Errorf("service installation is not implemented on this platform") } func Status() (string, error) { return "", fmt.Errorf("service status is not available on this platform") }