autostart

package
v0.0.0-...-95e8c34 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableService

func DisableService() error

DisableService disables the autostart service.

func HostHasSystemd

func HostHasSystemd() bool

HostHasSystemd checks if the host system is using Systemd, which is required for the autostart service.

func InstallService

func InstallService(dataDir string) error

InstallService saves the autostart unit file and enables it with Systemd.

func ServiceInstalled

func ServiceInstalled() bool

ServiceInstalled checks if the autostart service is enabled.

func StartService

func StartService() error

StartService starts Crankshaft through the autostart service

Types

This section is empty.

Jump to

Keyboard shortcuts

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