Use MCC stub for ExecStop

This commit is contained in:
2023-06-09 12:50:10 -04:00
parent 8938c061ce
commit 283586102e

View File

@@ -19,7 +19,7 @@ shopt -s extglob
declare -g SCRIPTVERSION="1.0-dev" declare -g SCRIPTVERSION="1.0-dev"
declare -g BOARDURL="https://yabb.jriver.com/interact/index.php/board,80.0.html" # MC31 declare -g BOARDURL="https://yabb.jriver.com/interact/index.php/board,80.0.html" # MC31
declare -g DEBIANBASE="bullseye" declare -g DEBIANBASE="bullseye"
declare -g MC_VERSION_HARDCODE="31.0.13" declare -g MC_VERSION_HARDCODE="31.0.13" # Do find all replace
printHelp() { printHelp() {
debug "Running: ${FUNCNAME[0]}" debug "Running: ${FUNCNAME[0]}"
@@ -1305,8 +1305,8 @@ service_jriver-mediacenter() {
Environment=DISPLAY=$DISPLAY Environment=DISPLAY=$DISPLAY
Environment=XAUTHORITY=$XAUTHORITY Environment=XAUTHORITY=$XAUTHORITY
ExecStart=/usr/bin/mediacenter$MC_MVERSION $* ExecStart=/usr/bin/mediacenter$MC_MVERSION $*
KillMode=process KillMode=none
KillSignal=SIGHUP ExecStop=$MC_STUB_TARGET /MCC 20007
Restart=always Restart=always
RestartSec=10 RestartSec=10
TimeoutStopSec=30 TimeoutStopSec=30