소스 검색

Use MCC stub for ExecStop

bryan 1 년 전
부모
커밋
283586102e
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      installJRMC

+ 3 - 3
installJRMC

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