diff --git a/scripts/restore b/scripts/restore index 60747fc..523eca5 100755 --- a/scripts/restore +++ b/scripts/restore @@ -49,13 +49,11 @@ yunohost service add "$app" --description="$app whiteboard" --log="/var/log/$app ynh_restore_file --origin_path="/etc/logrotate.d/$app" #================================================= -# RELOAD NGINX AND PHP-FPM OR THE APP SERVICE +# RELOAD NGINX AND THE APP SERVICE #================================================= ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1 -### Typically you only have either $app or php-fpm but not both at the same time... ynh_systemd_action --service_name="$app" --action="start" --log_path="/var/log/$app/$app.log" -ynh_systemd_action --service_name="php$phpversion-fpm" --action=reload ynh_systemd_action --service_name=nginx --action=reload