void-packages/srcpkgs/gitea/INSTALL
sineemore 57548c7bd5 gitea: fix INSTALL script
With current INSTALL sed process reveals generated secret key; it can be viewed by monitoring /proc or by using extrace.
Also sed pattern <SECRET_KEY> fails, since there no such substring in provided sample configuration.

gitea will change all secrets in configuration file right after web based installation process.
2020-04-19 17:06:25 -07:00

5 lines
71 B
Text

case "${ACTION}" in
post)
chown _gitea:_gitea etc/gitea.conf
;;
esac