diff --git a/scripts/change_url b/scripts/change_url index 7e5457c..9791e3f 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -52,7 +52,7 @@ chown "$app":"$app" "$install_dir/config/appsettings.json" ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service -ynh_systemd_action --service_name="$app" --action=start --log_path=systemd +ynh_systemd_action --service_name="$app" --action=start --log_path=systemd --line_match="Now listening on:" #================================================= # END OF SCRIPT diff --git a/scripts/install b/scripts/install index 85cacff..5d94b50 100755 --- a/scripts/install +++ b/scripts/install @@ -62,7 +62,7 @@ chown "$app":"$app" "$install_dir/config/appsettings.json" ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service -ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" +ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="Now listening on:" #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index 423f1ae..b9fc4ca 100755 --- a/scripts/restore +++ b/scripts/restore @@ -61,7 +61,7 @@ yunohost service add "$app" --description="Cross platform reading server" --log= #================================================= ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1 -ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" +ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="Now listening on:" ynh_systemd_action --service_name=nginx --action=reload diff --git a/scripts/upgrade b/scripts/upgrade index 6500482..29e945d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -90,7 +90,7 @@ yunohost service add "$app" --description="Cross platform reading server" --log= #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=1 -ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" +ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="Now listening on:" #================================================= # END OF SCRIPT