1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borgwarehouse_ynh.git synced 2024-09-03 18:16:17 +02:00

Update install

This commit is contained in:
Limezy 2024-05-01 23:46:50 +07:00
parent 3208694ead
commit 3dc95cffb6

View file

@ -40,7 +40,6 @@ ynh_setup_source --dest_dir="$install_dir/app"
mkdir "/home/$app" && chmod 700 "/home/$app" mkdir "/home/$app" && chmod 700 "/home/$app"
ln -s "$install_dir/app" "/home/$app/app" ln -s "$install_dir/app" "/home/$app/app"
chmod 700 "/home/$app/app/helpers/shells/*"
mkdir "/home/$app/.ssh" && chmod 700 "/home/$app/.ssh" mkdir "/home/$app/.ssh" && chmod 700 "/home/$app/.ssh"
touch "/home/$app/.ssh/authorized_keys" && chmod 600 "/home/$app/.ssh/authorized_keys" touch "/home/$app/.ssh/authorized_keys" && chmod 600 "/home/$app/.ssh/authorized_keys"
@ -51,6 +50,8 @@ ln -s "/home/yunohost.app/$app" "/home/$app/repos" && chmod 700 "/home/$app/repo
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"
chown -R $app:www-data "/home/$app" chown -R $app:www-data "/home/$app"
chmod 700 "/home/$app/app/helpers/shells/"*
#================================================= #=================================================
# SYSTEM CONFIGURATION # SYSTEM CONFIGURATION
#================================================= #=================================================