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

Merge pull request #27 from Rafi594/patch-1

[fix] create uploads folder and permissions
This commit is contained in:
M5oul 2017-06-21 11:41:12 +02:00 committed by GitHub
commit aa075b2051

View file

@ -108,6 +108,10 @@ else
fi
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 gogs /opt/gogs/data
# Unprotect root from SSO if public
if [ "$is_public" = "Yes" ]
then