From eed25cca3e6a74c27c78a04eb025014753bcbba4 Mon Sep 17 00:00:00 2001 From: Lukas Bachschwell Date: Sun, 26 Jun 2022 16:55:39 +0200 Subject: [PATCH] Set run script execute Signed-off-by: Lukas Bachschwell --- cmd/service.go | 1 + 1 file changed, 1 insertion(+) 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() },