This commit is contained in:
Philippe Caseiro 2022-06-29 17:27:00 +02:00
parent d91faf5636
commit dd0608dfe8
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ func (cf *ConfigFile) Generate(root string, templateDir string, values []byte) e
log.Printf("\tFile %s generated\n", dest) log.Printf("\tFile %s generated\n", dest)
if cf.Service != "" { if cf.Service != "" {
sv := SystemService{Name: fmt.Sprintf("%s")} sv := SystemService{Name: cf.Service}
return sv.Restart() return sv.Restart()
} }
return nil return nil