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:
parent
d20ac626f7
commit
39f5245ade
5 changed files with 11 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -74,3 +74,5 @@ fi
|
|||
|
||||
# Recharge la configuration Nginx
|
||||
systemctl reload nginx.service
|
||||
|
||||
ynh_script_progression --message="Installation of $app completed" --last
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -60,3 +60,5 @@ set_permission
|
|||
|
||||
# Recharge la configuration Nginx
|
||||
systemctl reload nginx.service
|
||||
|
||||
ynh_script_progression --message="Upgrade of $app completed" --last
|
||||
|
|
Loading…
Add table
Reference in a new issue