github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/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 }