Pass --debug to createrepo service
This commit is contained in:
@@ -1654,6 +1654,9 @@ service_jriver-createrepo() {
|
|||||||
--no-update
|
--no-update
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Pass --debug to service file if it was set for the main script
|
||||||
|
((DEBUG)) && start_cmd+=("--debug")
|
||||||
|
|
||||||
debug "ExecStart=${start_cmd[*]}"
|
debug "ExecStart=${start_cmd[*]}"
|
||||||
|
|
||||||
sudo bash -c "cat <<-EOF > $SERVICE_FNAME
|
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
|
Description=Builds JRiver Media Center RPM, moves it to the repo dir, and runs createrepo
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
$USER_STRING
|
|
||||||
ExecStart=${start_cmd[*]}
|
ExecStart=${start_cmd[*]}
|
||||||
|
$USER_STRING
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Reference in New Issue
Block a user