mirror of
https://github.com/YunoHost-Apps/SitemagicCMS_ynh.git
synced 2024-09-03 20:26:13 +02:00
Merge branch 'testing' of https://github.com/YunoHost-Apps/SitemagicCMS_ynh into testing
This commit is contained in:
commit
58be921a31
3 changed files with 7 additions and 1 deletions
|
@ -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"
|
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"
|
chown $app:$app "$final_path/config.xml.php"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -66,6 +66,9 @@ chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$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
|
# RESTORE THE PHP-FPM CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -86,6 +86,9 @@ chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$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
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue