Update scripts/restore
This commit is contained in:
parent
4571fe0343
commit
f499db9f8f
1 changed files with 0 additions and 4 deletions
|
@ -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
|
### 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/nginx/conf.d/$domain.d/$app.conf"
|
||||||
|
|
||||||
ynh_restore "/etc/systemd/system/$app.service"
|
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...
|
### 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="$app" --action="start"
|
||||||
|
|
||||||
ynh_systemctl --service="php$php_version-fpm" --action=reload
|
|
||||||
|
|
||||||
ynh_systemctl --service=nginx --action=reload
|
ynh_systemctl --service=nginx --action=reload
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue