mirror of
https://github.com/YunoHost-Apps/garradin_ynh.git
synced 2024-09-03 18:36:17 +02:00
Update restore
This commit is contained in:
parent
f56fb8fd7c
commit
5432a3c65c
1 changed files with 2 additions and 4 deletions
|
@ -50,10 +50,8 @@ fi
|
||||||
# Restore sources & data
|
# Restore sources & data
|
||||||
sudo cp -a "./sources" $final_path
|
sudo cp -a "./sources" $final_path
|
||||||
|
|
||||||
# Set permissions
|
sudo chown www-data:www-data $final_path -R
|
||||||
sudo chown -R root:root $final_path
|
sudo chmod 755 $final_path -R
|
||||||
sudo chown -R www-data:root $final_path/{data,tmp}
|
|
||||||
sudo chmod -R 700 $final_path/{data,tmp}
|
|
||||||
|
|
||||||
# Restore conf files
|
# Restore conf files
|
||||||
sudo cp -a "./conf/nginx.conf" $conf
|
sudo cp -a "./conf/nginx.conf" $conf
|
||||||
|
|
Loading…
Reference in a new issue