1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gogs_ynh.git synced 2024-09-03 20:36:23 +02:00

[fix] create uploads folder and permissions

This commit is contained in:
Rafi59 2017-06-19 20:49:09 +02:00 committed by GitHub
parent 92202d1f2f
commit d224ec18de

View file

@ -108,6 +108,10 @@ else
fi fi
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/"$app".conf sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/"$app".conf
# Create uploads folder and permissions
sudo mkdir /opt/gogs/data
sudo chown -R /opt/gogs/data
# Unprotect root from SSO if public # Unprotect root from SSO if public
if [ "$is_public" = "Yes" ] if [ "$is_public" = "Yes" ]
then then