1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fab-manager_ynh.git synced 2024-09-03 18:36:16 +02:00

Fix ynh_systemd_action

This commit is contained in:
Salamandar 2024-03-13 23:00:16 +01:00
parent 2ee5c2d42b
commit b326dd27f0
4 changed files with 4 additions and 4 deletions

View file

@ -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"
#=================================================

View file

@ -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"
#=================================================

View file

@ -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"
#=================================================

View file

@ -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"
#=================================================