From ddf198070f18d0a09b66203e2280bd5cf787bf0f Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 21 May 2021 20:01:15 +0530 Subject: [PATCH] added match string --- scripts/install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install b/scripts/install index e86d5bd..4be7eda 100755 --- a/scripts/install +++ b/scripts/install @@ -108,6 +108,11 @@ ynh_add_systemd_config #================================================= ynh_script_progression --message="Configuring Jackett..." --weight=2 +# Start a systemd service +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Application started. Press Ctrl+C to shut down." +# Start a systemd service +ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd" + ynh_replace_string --match_string="BasePathOverride": null, --replace_string="BasePathOverride": "$path_url", --target_file="$final_path/.config/Jackett/ServerConfig.json" #=================================================