Try 07
This commit is contained in:
parent
2810cb2f5f
commit
8178939245
|
@ -72,6 +72,7 @@ func (sys *SystemService) Start() error {
|
|||
}
|
||||
} else if sys.Type == "openrc" {
|
||||
_, stdErr, err := utils.RunSystemCommand("service", sys.Name, "stop")
|
||||
fmt.Printf("ERROR [%v]", err)
|
||||
if err != nil {
|
||||
return fmt.Errorf("System service %s \n * Enable error:\n - %s", sys.Name, stdErr)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue