.gitconfig needs to be backed up

This commit is contained in:
Girish Ramakrishnan 2015-10-14 00:19:55 -07:00
parent 9c0c999166
commit 534bbf660f
2 changed files with 3 additions and 3 deletions

View File

@ -32,6 +32,7 @@ RUN mkdir -p /run/gogs && chown -R cloudron:cloudron /run/gogs
RUN mkdir -p /var/log/gogs && chown -R cloudron:cloudron /var/log/gogs
RUN ln -s /app/data/ssh /home/cloudron/.ssh
RUN ln -s /app/data/gitconfig /home/cloudron/.gitconfig
ADD start.sh /home/cloudron/start.sh

View File

@ -33,9 +33,8 @@ sed -e "s/##HOSTNAME/${fqdn}/g" \
-e "s/##SECRET_KEY/$(pwgen -1 -s)/g" \
/home/cloudron/app.ini.template > "/run/gogs/app.ini"
chown cloudron:cloudron /run/gogs
chown -R cloudron.cloudron /app/data
mkdir -p /app/data/repository /app/data/ssh
chown -R cloudron.cloudron /app/data /run/gogs
( setup_ldap_source ) &