mirror of
https://github.com/YunoHost-Apps/abantecart_ynh.git
synced 2024-09-03 18:06:16 +02:00
Update install
This commit is contained in:
parent
44dd8e94a2
commit
586ae5e7d3
1 changed files with 10 additions and 8 deletions
|
@ -81,17 +81,19 @@ sudo php cli_install.php install \
|
|||
popd
|
||||
|
||||
|
||||
# file owned by www-data before checking permissions
|
||||
sudo chown www-data:www-data $final_path -R
|
||||
|
||||
# Files owned by root, www-data can just read
|
||||
sudo chmod 0777 $final_path/system/config.php
|
||||
sudo chmod 0777 $final_path/system/
|
||||
sudo chmod 0777 $final_path/system/cache/
|
||||
sudo chmod 0777 $final_path/system/logs/
|
||||
sudo chmod 0777 $final_path/image/
|
||||
sudo chmod 0777 $final_path/image/thumbnails/
|
||||
sudo chmod 0777 $final_path/download/
|
||||
sudo chmod 0777 $final_path/extensions/
|
||||
sudo chmod 0777 $final_path/admin/system/backup/
|
||||
sudo chmod 0777 $final_path/resources/
|
||||
sudo chmod 0777 $final_path/system/cache/ -R
|
||||
sudo chmod 0777 $final_path/system/logs/ -R
|
||||
sudo chmod 0777 $final_path/image/ -R
|
||||
sudo chmod 0777 $final_path/image/thumbnails/ -R
|
||||
sudo chmod 0777 $final_path/download/ -R
|
||||
sudo chmod 0777 $final_path/extensions/ -R
|
||||
sudo chmod 0777 $final_path/resources/ -R
|
||||
|
||||
# set database configuration
|
||||
sed -i "s@YNH_WWW_PATH@$path@g" ../conf/nginx.conf
|
||||
|
|
Loading…
Reference in a new issue