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