mirror of
https://github.com/YunoHost-Apps/yourls_ynh.git
synced 2024-09-03 20:35:59 +02:00
Merge branch 'testing' of https://github.com/YunoHost-Apps/yourls_ynh into testing
This commit is contained in:
commit
d08db035f2
7 changed files with 9 additions and 27 deletions
|
@ -29,7 +29,7 @@ Running your own URL shortener is fun, geeky and useful: you own your data and d
|
|||
- Sample files to create your own public interface
|
||||
|
||||
|
||||
**Shipped version:** 1.9.2~ynh2
|
||||
**Shipped version:** 1.9.2~ynh3
|
||||
|
||||
**Demo:** https://yourls.org/cookie+
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ Running your own URL shortener is fun, geeky and useful: you own your data and d
|
|||
- Sample files to create your own public interface
|
||||
|
||||
|
||||
**Version incluse :** 1.9.2~ynh2
|
||||
**Version incluse :** 1.9.2~ynh3
|
||||
|
||||
**Démo :** https://yourls.org/cookie+
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "Yourls"
|
|||
description.en = "URL shortening service"
|
||||
description.fr = "Service de raccourcisseur d'URL"
|
||||
|
||||
version = "1.9.2~ynh2"
|
||||
version = "1.9.2~ynh3"
|
||||
|
||||
maintainers = [""]
|
||||
|
||||
|
@ -34,6 +34,10 @@ ram.runtime = "50M"
|
|||
type = "path"
|
||||
default = "/yourls"
|
||||
|
||||
[install.init_main_permission]
|
||||
type = "group"
|
||||
default = "visitors"
|
||||
|
||||
[install.admin]
|
||||
type = "user"
|
||||
|
||||
|
|
|
@ -49,11 +49,6 @@ ynh_script_progression --message="Configuring NGINX web server..." --weight=2
|
|||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
||||
#=================================================
|
||||
# PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring PHP-FPM..." --weight=2
|
||||
|
||||
# Create a dedicated PHP-FPM config
|
||||
ynh_add_fpm_config --usage=low --footprint=low
|
||||
|
||||
|
|
|
@ -17,11 +17,6 @@ ynh_script_progression --message="Removing NGINX web server configuration..." --
|
|||
# Remove the dedicated nginx config
|
||||
ynh_remove_nginx_config
|
||||
|
||||
#=================================================
|
||||
# REMOVE PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Removing PHP-FPM configuration..." --weight=2
|
||||
|
||||
# Remove the dedicated PHP-FPM config
|
||||
ynh_remove_fpm_config
|
||||
|
||||
|
|
|
@ -9,15 +9,6 @@
|
|||
source ../settings/scripts/_common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# STANDARD RESTORATION STEPS
|
||||
#=================================================
|
||||
# RESTORE THE NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Restoring the NGINX configuration..." --weight=1
|
||||
|
||||
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE APP MAIN DIR
|
||||
#=================================================
|
||||
|
@ -35,6 +26,8 @@ ynh_script_progression --message="Reconfiguring PHP-FPM..." --weight=10
|
|||
|
||||
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
||||
|
||||
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE MYSQL DATABASE
|
||||
#=================================================
|
||||
|
|
|
@ -38,11 +38,6 @@ ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=4
|
|||
# Create a dedicated PHP-FPM config
|
||||
ynh_add_fpm_config --usage=low --footprint=low
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue