1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lychee_ynh.git synced 2024-09-03 19:36:36 +02:00
This commit is contained in:
ericgaspar 2020-11-06 22:40:40 +01:00
parent 5e2199f351
commit e545039fe4
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 6 additions and 6 deletions

View file

@ -32,8 +32,8 @@ DB_LOG_SQL=false
TIMEZONE=UTC
# folders in which the files will be stored
LYCHEE_DIST="/var/www/__APP__/public/dist/"
LYCHEE_UPLOADS="/home/yunohost.__APP__/uploads/"
#LYCHEE_DIST="/var/www/__APP__/public/dist/"
#LYCHEE_UPLOADS="/home/yunohost.__APP__/uploads/"
# url to access those files
# LYCHEE_DIST_URL="dist/"

View file

@ -134,8 +134,8 @@ ynh_store_file_checksum "$final_path/.env"
# CREATE DIRECTORIES
#=================================================
mkdir -p /home/yunohost.${app}/uploads
mkdir -p /home/yunohost.${app}/uploads/{big,medium,small,thumb,import}
#mkdir -p /home/yunohost.${app}/uploads
#mkdir -p /home/yunohost.${app}/uploads/{big,medium,small,thumb,import}
#=================================================
# SECURE FILES AND DIRECTORIES
@ -143,8 +143,8 @@ mkdir -p /home/yunohost.${app}/uploads/{big,medium,small,thumb,import}
# Set permissions to app files
chown -R $app: $final_path
chown -R $app: /home/yunohost.${app}
chmod -R 750 /home/yunohost.${app}
#chown -R $app: /home/yunohost.${app}
#chmod -R 750 /home/yunohost.${app}
#=================================================
# SETUP SSOWAT