mirror of
https://github.com/YunoHost-Apps/borgwarehouse_ynh.git
synced 2024-09-03 18:16:17 +02:00
fix
This commit is contained in:
parent
46eaff89d1
commit
ca67122d5a
2 changed files with 3 additions and 3 deletions
|
@ -51,7 +51,6 @@ ram.runtime = "50M"
|
||||||
allow_email = true
|
allow_email = true
|
||||||
|
|
||||||
[resources.install_dir]
|
[resources.install_dir]
|
||||||
dir = "/home/borgwarehouse"
|
|
||||||
|
|
||||||
[resources.permissions]
|
[resources.permissions]
|
||||||
main.url = "/"
|
main.url = "/"
|
||||||
|
|
|
@ -38,11 +38,12 @@ ynh_script_progression --message="Setting up source files..." --weight=1
|
||||||
# Download, check integrity, uncompress and patch the source from manifest.toml
|
# Download, check integrity, uncompress and patch the source from manifest.toml
|
||||||
ynh_setup_source --dest_dir="$install_dir/app"
|
ynh_setup_source --dest_dir="$install_dir/app"
|
||||||
|
|
||||||
mkdir $install_dir/.ssh && chmod 700 $install_dir/.ssh
|
mkdir /home/borgwarehouse/.ssh && chmod 700 /home/borgwarehouse/.ssh
|
||||||
touch $install_dir/.ssh/authorized_keys && chmod 600 $install_dir/.ssh/authorized_keys
|
touch /home/borgwarehouse/.ssh/authorized_keys && chmod 600 /home/borgwarehouse/.ssh/authorized_keys
|
||||||
mkdir $install_dir/repos && chmod 700 $install_dir/repos
|
mkdir $install_dir/repos && chmod 700 $install_dir/repos
|
||||||
|
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
|
chown -R $app:www-data "/home/borgwarehouse"
|
||||||
chmod 700 $install_dir/app/helpers/shells/*
|
chmod 700 $install_dir/app/helpers/shells/*
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue