github.com/keybase/client/go@v0.0.0-20240309051027-028f7c731f8b/systemd/systemd_other.go (about)

     1  //go:build !linux || android
     2  // +build !linux android
     3  
     4  package systemd
     5  
     6  import "net"
     7  
     8  func IsRunningSystemd() bool {
     9  	return false
    10  }
    11  
    12  func IsSocketActivated() bool {
    13  	return false
    14  }
    15  
    16  // Currently only implemented for systemd on Linux.
    17  func GetListenerFromEnvironment() (net.Listener, error) {
    18  	return nil, nil
    19  }
    20  
    21  // Currently only implemented for systemd on Linux.
    22  func NotifyStartupFinished() {
    23  	// no-op
    24  }