Files
privatae-bastion/client-go/sysservice_other.go
T
Privatae e4c9b69b46
ci / personal-data (push) Successful in 5s
ci / test (push) Successful in 3m4s
ci / fuzz (push) Successful in 3m45s
bastion 0.53.2
2026-10-20 04:42:14 +00:00

21 lines
772 B
Go

//go:build !darwin && !windows
package main
import "errors"
// On Linux the system service is the systemd unit deploy/install.sh writes,
// and nothing here changes it. These answer the `service` command and the
// startup check (adoptSystemServiceState) for that platform.
var errLinuxServiceIsTheUnit = errors.New("on Linux the system service is the systemd unit the installer writes " +
"(curl -fsSL https://privatae.ai/bastion/install.sh | sudo sh); manage it with systemctl")
func systemServiceInstalled() (bool, error) { return false, nil }
func installSystemService() error { return errLinuxServiceIsTheUnit }
func uninstallSystemService() error { return errLinuxServiceIsTheUnit }
func printSystemServiceStatus() error { return errLinuxServiceIsTheUnit }