diff --git a/cmd/service.go b/cmd/service.go index df65e80..b82c57f 100644 --- a/cmd/service.go +++ b/cmd/service.go @@ -79,6 +79,7 @@ to quickly create a Cobra application.`, } editFile(workdir + "/etc/init.d/" + name) + log.Should(os.Chmod(workdir+"/etc/init.d/"+name, 0755)) createOutput() },