Set run script execute

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
This commit is contained in:
Lukas Bachschwell 2022-06-26 16:55:39 +02:00
parent 023605223e
commit eed25cca3e
Signed by: lbsadmin
GPG Key ID: CCC6AA87CC8DF425

View File

@ -79,6 +79,7 @@ to quickly create a Cobra application.`,
} }
editFile(workdir + "/etc/init.d/" + name) editFile(workdir + "/etc/init.d/" + name)
log.Should(os.Chmod(workdir+"/etc/init.d/"+name, 0755))
createOutput() createOutput()
}, },