1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/element_ynh.git synced 2024-09-03 18:36:08 +02:00

Fix last message for progession

This commit is contained in:
Josué Tille 2019-10-27 11:46:30 +01:00
parent d20ac626f7
commit 39f5245ade
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
5 changed files with 11 additions and 1 deletions

View file

@ -25,7 +25,7 @@ domain=$(ynh_app_setting_get --app $app --key domain)
ynh_script_progression --message="Backing configuration..."
# Copy Nginx config
ynh_backup --src_path "/etc/nginx/conf.d/${domain}.d/${app}.conf" "nginx.conf"
ynh_backup --src_path "/etc/nginx/conf.d/${domain}.d/${app}.conf"
# BACKUP THE PHP-FPM CONFIGURATION
ynh_backup --src_path "/etc/php5/fpm/pool.d/$app.conf"
@ -33,3 +33,5 @@ ynh_backup --src_path "/etc/php5/fpm/pool.d/$app.conf"
# Backup riot files
ynh_script_progression --message="Backing up the main app directory..."
ynh_backup --src_path "/var/www/$app"
ynh_script_progression --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." --last

View file

@ -74,3 +74,5 @@ fi
# Recharge la configuration Nginx
systemctl reload nginx.service
ynh_script_progression --message="Installation of $app completed" --last

View file

@ -33,3 +33,5 @@ ynh_remove_fpm_config
# Delete a system user
ynh_script_progression --message="Removing apps user..."
ynh_system_user_delete --username $app
ynh_script_progression --message="Removal of $app completed" --last

View file

@ -46,3 +46,5 @@ set_permission
ynh_script_progression --message="Reloading services..."
systemctl reload nginx.service
systemctl reload php5-fpm
ynh_script_progression --message="Restoration completed for $app" --last

View file

@ -60,3 +60,5 @@ set_permission
# Recharge la configuration Nginx
systemctl reload nginx.service
ynh_script_progression --message="Upgrade of $app completed" --last