github.com/keybase/client/go@v0.0.0-20240309051027-028f7c731f8b/tools/systemd/main.go (about) 1 //go:build linux && !android 2 // +build linux,!android 3 4 package main 5 6 import "fmt" 7 import "github.com/keybase/client/go/systemd" 8 9 func main() { 10 fmt.Println("IsUserSystemdRunning() ->", systemd.IsUserSystemdRunning()) 11 fmt.Println("IsRunningSystemd() ->", systemd.IsRunningSystemd()) 12 }