Versions in this module Expand all Collapse all v0 v0.0.1 Jan 1, 2026 Changes in this version + func AllMatch(u1 []*UnitOption, u2 []*UnitOption) bool + func Serialize(opts []UnitOption) io.Reader + type SystemCTL struct + IsUserUnit bool + Name string + func NewSystemCTL(name, unitContent string, IsUserUnit bool) (*SystemCTL, error) + func (s *SystemCTL) IsRunningWithSinceTime() (bool, time.Duration) + func (s *SystemCTL) Restart() error + func (s *SystemCTL) Start() error + func (s *SystemCTL) Status() (status string, uptime time.Duration, err error) + func (s *SystemCTL) Stop() error + type UnitOption struct + Name string + Section string + Value string + func NewUnitOption(section, name, value string) *UnitOption + func (uo *UnitOption) Match(other *UnitOption) bool + func (uo *UnitOption) String() string