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:
parent
92202d1f2f
commit
d224ec18de
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue