systemctl

package
v1.9.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsActive

func IsActive(serviceName string) (bool, error)

func IsEnable added in v1.8.0

func IsEnable(serviceName string) (bool, error)

func IsExist

func IsExist(serviceName string) (bool, error)

func Operate

func Operate(operate, serviceName string) error

func Restart

func Restart(serviceName string) error

func RunSystemCtl

func RunSystemCtl(args ...string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL