Skip to content

Commit

Permalink
update ynh_systemd_action --line_match
Browse files Browse the repository at this point in the history
  • Loading branch information
OniriCorpe committed Oct 1, 2024
1 parent 49cccc5 commit cae5d15
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/change_url
Original file line number Diff line number Diff line change
Expand Up @@ -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 --line_match="Now listening on:"
ynh_systemd_action --service_name="$app" --action=start --log_path=systemd --line_match="API.Program Kavita"

#=================================================
# END OF SCRIPT
Expand Down
2 changes: 1 addition & 1 deletion scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -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" --line_match="Now listening on:"
ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="API.Program Kavita"

#=================================================
# END OF SCRIPT
Expand Down
2 changes: 1 addition & 1 deletion scripts/restore
Original file line number Diff line number Diff line change
Expand Up @@ -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" --line_match="Now listening on:"
ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="API.Program Kavita"

ynh_systemd_action --service_name=nginx --action=reload

Expand Down
2 changes: 1 addition & 1 deletion scripts/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -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" --line_match="Now listening on:"
ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="API.Program Kavita"

#=================================================
# END OF SCRIPT
Expand Down

0 comments on commit cae5d15

Please sign in to comment.