bastion 0.53.2
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
//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 }
|
||||
Reference in New Issue
Block a user