Update scripts/restore

This commit is contained in:
denis 2024-11-15 06:18:44 -05:00
parent 4571fe0343
commit f499db9f8f

View file

@ -44,8 +44,6 @@ ynh_script_progression "Restoring system configurations related to $app..."
### This should be a symetric version of what happens in the install script
ynh_restore "/etc/php/$php_version/fpm/pool.d/$app.conf"
ynh_restore "/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_restore "/etc/systemd/system/$app.service"
@ -83,8 +81,6 @@ ynh_script_progression "Reloading NGINX web server and $app's service..."
### Typically you only have either $app or PHP-FPM but not both at the same time...
ynh_systemctl --service="$app" --action="start"
ynh_systemctl --service="php$php_version-fpm" --action=reload
ynh_systemctl --service=nginx --action=reload
#=================================================