mirror of
https://github.com/YunoHost-Apps/dokuwiki_ynh.git
synced 2024-09-03 18:26:20 +02:00
Accolade en trop
This commit is contained in:
parent
d510152555
commit
22a6733b3e
2 changed files with 8 additions and 8 deletions
|
@ -63,10 +63,10 @@ sudo chown -R www-data: $final_path
|
|||
|
||||
# except for conf, data, some data subfolders, and lib/plugin, where www-data must have write permissions
|
||||
sudo chown -R www-data:root $final_path/{conf,data,data/attic,data/cache,data/index,data/locks,data/media*,data/meta,data/pages,data/tmp,lib/plugins,lib/tpl}
|
||||
sudo chmod -R 700 $final_path/{conf}
|
||||
sudo chmod -R 700 $final_path/{data}
|
||||
sudo chmod -R 700 $final_path/{lib/plugins}
|
||||
sudo chmod -R 700 $final_path/{lib/tpl}
|
||||
sudo chmod -R 700 $final_path/conf
|
||||
sudo chmod -R 700 $final_path/data
|
||||
sudo chmod -R 700 $final_path/lib/plugins
|
||||
sudo chmod -R 700 $final_path/lib/tpl
|
||||
|
||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
|
|
|
@ -68,10 +68,10 @@ sudo chown -R www-data: $final_path
|
|||
|
||||
# except for conf, data, some data subfolders, and lib/plugin, where www-data must have write permissions
|
||||
sudo chown -R www-data:root $final_path/{conf,data,data/attic,data/cache,data/index,data/locks,data/media*,data/meta,data/pages,data/tmp,lib/plugins,lib/tpl}
|
||||
sudo chmod -R 700 $final_path/{conf}
|
||||
sudo chmod -R 700 $final_path/{data}
|
||||
sudo chmod -R 700 $final_path/{lib/plugins}
|
||||
sudo chmod -R 700 $final_path/{lib/tpl}
|
||||
sudo chmod -R 700 $final_path/conf
|
||||
sudo chmod -R 700 $final_path/data
|
||||
sudo chmod -R 700 $final_path/lib/plugins
|
||||
sudo chmod -R 700 $final_path/lib/tpl
|
||||
|
||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||
sed -i "s@__PATHTOCHANGE__@$path@g" ../conf/nginx.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue