This commit is contained in:
Philippe Caseiro 2022-06-30 10:20:32 +02:00
parent 2810cb2f5f
commit 8178939245
1 changed files with 1 additions and 0 deletions

View File

@ -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)
}