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 InstallAsService ¶
func InstallAsService()
func SystemctlDisableService ¶
func SystemctlEnableService ¶
func SystemctlRunService ¶
func SystemctlStopService ¶
func UninstallService ¶
func UninstallService()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.