diff --git a/scripts/change_url b/scripts/change_url index 10e2ede..1f330e2 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -40,7 +40,7 @@ chown "$app:$app" "$install_dir/config/secrets.yml" ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service -ynh_systemd_action --service_name="${app}-app" --action="start" --log_path=systemd --line_match="Listening on" +ynh_systemd_action --service_name="${app}-app" --action="start" --log_path=systemd ynh_systemd_action --service_name="${app}-worker" --action="start" --log_path=systemd --line_match="Schedules Loaded" #================================================= diff --git a/scripts/install b/scripts/install index a3ad488..1d270e9 100755 --- a/scripts/install +++ b/scripts/install @@ -97,7 +97,7 @@ yunohost service add "$app-worker" --description="$app worker service" #================================================= ynh_script_progression --message="Starting $app's systemd service..." --weight=1 -ynh_systemd_action --service_name="${app}-app" --action="start" --log_path=systemd --line_match="Listening on" +ynh_systemd_action --service_name="${app}-app" --action="start" --log_path=systemd ynh_systemd_action --service_name="${app}-worker" --action="start" --log_path=systemd --line_match="Schedules Loaded" #================================================= diff --git a/scripts/restore b/scripts/restore index 31728ad..cdaeeb7 100755 --- a/scripts/restore +++ b/scripts/restore @@ -78,7 +78,7 @@ yunohost service add "$app-worker" --description="$app worker service" #================================================= ynh_script_progression --message="Starting $app's systemd service..." --weight=1 -ynh_systemd_action --service_name="${app}-app" --action="start" --log_path=systemd --line_match="Listening on" +ynh_systemd_action --service_name="${app}-app" --action="start" --log_path=systemd ynh_systemd_action --service_name="${app}-worker" --action="start" --log_path=systemd --line_match="Schedules Loaded" #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 225e415..f7f3515 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -103,7 +103,7 @@ yunohost service add "$app-worker" --description="$app worker service" #================================================= ynh_script_progression --message="Starting $app's systemd service..." --weight=1 -ynh_systemd_action --service_name="${app}-app" --action="start" --log_path=systemd --line_match="Listening on" +ynh_systemd_action --service_name="${app}-app" --action="start" --log_path=systemd ynh_systemd_action --service_name="${app}-worker" --action="start" --log_path=systemd --line_match="Schedules Loaded" #=================================================