1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shaarli_ynh.git synced 2024-09-03 20:26:10 +02:00

Fix permissions in the restore script

This commit is contained in:
Romain Garbage 2017-03-04 05:01:01 +02:00
parent 3d4a46cb0e
commit a365f0d14d

View file

@ -26,7 +26,7 @@ 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:www-data "$src_path"
# Restore NGINX configuration
sudo cp -a ./nginx.conf "/etc/nginx/conf.d/${domain}.d/${app}.conf"