1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/immich_ynh.git synced 2024-09-03 20:36:24 +02:00

Upload folder

This commit is contained in:
Limezy 2022-09-02 00:17:46 +07:00
parent 78509e5fc3
commit b2bb94e85e

View file

@ -170,6 +170,11 @@ popd
rsync -a "$final_path/build/output/usr/src/app/" "$final_path/web/"
#ynh_secure_remove --file="$final_path/build"
# To be put back when everything stabilized
# Shouldn't be needed, but for some reasons the server doesn't use the .env
#/home/yunohost.app/__APP__/ value and expects a ./upload directory at the root
mkdir -p "$final_path/upload"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"