mirror of
https://github.com/ZeJMaN/LBCAlerte_ynh.git
synced 2025-07-26 21:27:34 +02:00
Fix access to var directory
Fix cron file EOL Fix access rights when restoring
This commit is contained in:
@ -22,8 +22,8 @@ src_path="/var/www/${app}"
|
||||
sudo cp -a ./sources "$src_path"
|
||||
|
||||
# Restore permissions to app files
|
||||
# you may need to make some file and/or directory writeable by www-data (nginx user)
|
||||
sudo chown -R root: "$src_path"
|
||||
sudo chown -R www-data: "$src_path/var"
|
||||
|
||||
# Create and restore the database
|
||||
dbname=$app
|
||||
|
Reference in New Issue
Block a user