diff --git a/pkg/templater/files.go b/pkg/templater/files.go index af14220..748f084 100644 --- a/pkg/templater/files.go +++ b/pkg/templater/files.go @@ -55,7 +55,7 @@ func (cf *ConfigFile) Generate(root string, templateDir string, values []byte) e log.Printf("\tFile %s generated\n", dest) if cf.Service != "" { - sv := SystemService{Name: fmt.Sprintf("%s")} + sv := SystemService{Name: cf.Service} return sv.Restart() } return nil