.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 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/ssh /home/cloudron/.ssh
RUN ln -s /app/data/gitconfig /home/cloudron/.gitconfig
ADD start.sh /home/cloudron/start.sh 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" \ -e "s/##SECRET_KEY/$(pwgen -1 -s)/g" \
/home/cloudron/app.ini.template > "/run/gogs/app.ini" /home/cloudron/app.ini.template > "/run/gogs/app.ini"
chown cloudron:cloudron /run/gogs mkdir -p /app/data/repository /app/data/ssh
chown -R cloudron.cloudron /app/data /run/gogs
chown -R cloudron.cloudron /app/data
( setup_ldap_source ) & ( setup_ldap_source ) &