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:
commit
aa075b2051
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 gogs /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