From f3a662f058ea0b61e3b65a5eac2282bad4b155c7 Mon Sep 17 00:00:00 2001 From: bryan Date: Mon, 13 Apr 2026 22:32:43 -0400 Subject: [PATCH] Pass --debug to createrepo service --- installJRMC | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index 187975a..f846157 100755 --- a/installJRMC +++ b/installJRMC @@ -1654,6 +1654,9 @@ service_jriver-createrepo() { --no-update ) + # Pass --debug to service file if it was set for the main script + ((DEBUG)) && start_cmd+=("--debug") + debug "ExecStart=${start_cmd[*]}" sudo bash -c "cat <<-EOF > $SERVICE_FNAME @@ -1661,8 +1664,8 @@ service_jriver-createrepo() { Description=Builds JRiver Media Center RPM, moves it to the repo dir, and runs createrepo [Service] - $USER_STRING ExecStart=${start_cmd[*]} + $USER_STRING [Install] WantedBy=multi-user.target