Files
systemctl/structs.go
2025-09-20 19:34:22 -04:00

29 lines
339 B
Go

package systemctl
type Options struct {
UserMode bool
}
type Unit struct {
Name string
Load string
Active string
Sub string
Description string
}
var unitTypes = []string{
"automount",
"device",
"mount",
"path",
"scope",
"service",
"slice",
"snapshot",
"socket",
"swap",
"target",
"timer",
}