mirror of
https://github.com/YunoHost-Apps/SitemagicCMS_ynh.git
synced 2024-09-03 20:26:13 +02:00
Merge pull request #4 from YunoHost-Apps/testing
Config file requires write access
This commit is contained in:
commit
950f38ea19
6 changed files with 10 additions and 4 deletions
|
@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
Sitemagic is a Content Management System. It's very unique in its approach to design. Sitemagic CMS is a comprehensive Content Management System that allows anyone to easily manage pages, files, menu, forms, and external modules such as maps, social media plugins, videos, and more. But there's also a ton of hidden features that helps you save time such as automatic mobile and search engine optimizations (SEO).
|
||||
|
||||
**Shipped version:** 4.4.2~ynh2
|
||||
**Shipped version:** 4.4.2~ynh3
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
|
||||
Sitemagic is a Content Management System. It's very unique in its approach to design. Sitemagic CMS is a comprehensive Content Management System that allows anyone to easily manage pages, files, menu, forms, and external modules such as maps, social media plugins, videos, and more. But there's also a ton of hidden features that helps you save time such as automatic mobile and search engine optimizations (SEO).
|
||||
|
||||
**Version incluse :** 4.4.2~ynh2
|
||||
**Version incluse :** 4.4.2~ynh3
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Content Management System",
|
||||
"fr": "Système de gestion de contenu"
|
||||
},
|
||||
"version": "4.4.2~ynh2",
|
||||
"version": "4.4.2~ynh3",
|
||||
"url": "https://sitemagic.org/",
|
||||
"upstream": {
|
||||
"license": "FSFULLR",
|
||||
|
|
|
@ -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"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue