systemd

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableService

func EnableService(name string) error

EnableService enables a systemd user service.

func GetUnit

func GetUnit(name string) (string, error)

GetUnit returns the content of an embedded systemd unit file.

func StartService

func StartService(name string) error

StartService starts a systemd user service.

func WriteService

func WriteService(name, content string) error

WriteService writes a systemd user service unit file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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