mirror of
https://github.com/YunoHost-Apps/lychee_ynh.git
synced 2024-09-03 19:36:36 +02:00
fix
This commit is contained in:
parent
5e2199f351
commit
e545039fe4
2 changed files with 6 additions and 6 deletions
|
@ -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/"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue