launchd

package
v2.0.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Template string

Functions

func AutoStartedServiceName

func AutoStartedServiceName() string

AutoStartedServiceName returns the launchd service name if the instance is started by launchd.

func EnableDisableService

func EnableDisableService(ctx context.Context, enable bool, instName string) error

EnableDisableService enables or disables the launchd service for the given instance name.

func GetPlistPath

func GetPlistPath(instName string) string

GetPlistPath returns the path to the launchd plist file for the given instance name.

func RequestStart

func RequestStart(ctx context.Context, inst *limatype.Instance) error

func RequestStop

func RequestStop(ctx context.Context, inst *limatype.Instance) (bool, error)

func ServiceNameFrom

func ServiceNameFrom(instName string) string

ServiceNameFrom returns the launchd service name for the given instance name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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