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
35055d1adb
commit
dfa3dce525
2 changed files with 3 additions and 8 deletions
|
@ -106,4 +106,4 @@ ynh_systemd_action --service_name=nginx --action=reload
|
|||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
||||
ynh_script_progression --message="Change of URL completed for Lychee" --last
|
||||
ynh_script_progression --message="Change of URL completed for $app" --last
|
||||
|
|
|
@ -66,6 +66,8 @@ fi
|
|||
if [ -z "$public_path" ]; then
|
||||
public_path=/home/yunohost.app/$app
|
||||
mkdir -p $public_path
|
||||
chmod 755 $public_path
|
||||
chown -R $app:www-data $public_path
|
||||
ynh_app_setting_set --app=$app --key=public_path --value=$public_path
|
||||
cp -a "$final_path/public/uploads" "$public_path/uploads"
|
||||
fi
|
||||
|
@ -153,13 +155,6 @@ ynh_exec_warn_less ynh_composer_exec --commands=\"dump-autoload\"
|
|||
( cd $final_path && php$phpversion artisan config:clear -n )
|
||||
( cd $final_path && php$phpversion artisan config:cache -n )
|
||||
|
||||
#=================================================
|
||||
# SECURE FILES AND DIRECTORIES
|
||||
#=================================================
|
||||
|
||||
chmod 755 $public_path
|
||||
chown -R $app:www-data $public_path
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue