1
0
mirror of https://git.cloudron.io/cloudron/gitea-app synced 2025-11-06 18:12:36 +00:00

use git instead of cloudron as user

This commit is contained in:
girish@cloudron.io
2016-02-21 18:52:08 -08:00
parent d69fc238bb
commit 8c5e97b351
5 changed files with 28 additions and 23 deletions

View File

@@ -36,11 +36,11 @@ sed -e "s/##DOMAIN/${APP_DOMAIN}/g" \
-e "s/##MAIL_PORT/${MAIL_SMTP_PORT}/g" \
-e "s/##MAIL_FROM/${MAIL_SMTP_USERNAME}@${MAIL_DOMAIN}/g" \
-e "s/##SECRET_KEY/$(pwgen -1 -s)/g" \
/home/cloudron/app.ini.template > "/run/gogs/app.ini"
/home/git/app.ini.template > "/run/gogs/app.ini"
mkdir -p /app/data/repository /app/data/ssh
chown -R cloudron.cloudron /app/data /run/gogs
chown -R git:git /app/data /run/gogs
( setup_ldap_source ) &