lib

package
v0.0.0-...-e08f996 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ServicePath = "/lib/systemd/system/testApp.service"
View Source
const ServiceTpl = `` /* 301-byte string literal not displayed */

* systemctl daemon-reload systemctl restart testApp systemctl status testApp

Variables

View Source
var ENV env

Functions

func GetRouter

func GetRouter() *mux.Router

func InstallAsService

func InstallAsService()

func SystemctlDisableService

func SystemctlDisableService() ([]byte, error)

func SystemctlEnableService

func SystemctlEnableService() ([]byte, error)

func SystemctlRunService

func SystemctlRunService() ([]byte, error)

func SystemctlStopService

func SystemctlStopService() ([]byte, error)

func UninstallService

func UninstallService()

Types

This section is empty.

Jump to

Keyboard shortcuts

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