mirror of
https://github.com/YunoHost-Apps/leed_ynh.git
synced 2024-09-03 19:26:32 +02:00
Droits pour install curl
This commit is contained in:
parent
2d6231f01c
commit
54d02ce68e
1 changed files with 3 additions and 0 deletions
|
@ -48,6 +48,9 @@ sudo mkdir -p $final_path
|
|||
sudo cp -a ../sources/* $final_path
|
||||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/leed.conf
|
||||
|
||||
# Set right permissions for curl install
|
||||
sudo chown -R www-data: $final_path
|
||||
|
||||
# Change variables in Leed configuration
|
||||
sudo sed -i "s@PATHTOCHANGE@$path@g" /etc/nginx/conf.d/$domain.d/leed.conf
|
||||
sudo sed -i "s@ALIASTOCHANGE@$final_path/@g" /etc/nginx/conf.d/$domain.d/leed.conf
|
||||
|
|
Loading…
Reference in a new issue