1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/SitemagicCMS_ynh.git synced 2024-09-03 20:26:13 +02:00
This commit is contained in:
ericgaspar 2022-01-20 09:14:50 +01:00
commit 58be921a31
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 7 additions and 1 deletions

View file

@ -104,7 +104,7 @@ ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template="../conf/config.xml.php" --destination="$final_path/config.xml.php"
chmod 400 "$final_path/config.xml.php"
chmod 660 "$final_path/config.xml.php"
chown $app:$app "$final_path/config.xml.php"
#=================================================

View file

@ -66,6 +66,9 @@ chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
chmod 660 "$final_path/config.xml.php"
chown $app:$app "$final_path/config.xml.php"
#=================================================
# RESTORE THE PHP-FPM CONFIGURATION
#=================================================

View file

@ -86,6 +86,9 @@ chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
chmod 660 "$final_path/config.xml.php"
chown $app:$app "$final_path/config.xml.php"
#=================================================
# NGINX CONFIGURATION
#=================================================