home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 17 May 2025 23:48:43 +0000 (01:48 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 17 May 2025 23:48:43 +0000 (01:48 +0200)
testing/scripts/sync_rtorrent_download.sh

index 2b39d15c0e1296008e2a4a7cafb5fd09dbb98984..c3ed88639e34cc48f45606507146069db1d983ae 100755 (executable)
@@ -150,6 +150,7 @@ if [ -z "${SYNC_DOWN}" ]; then
     ssh -t -q "${SERVER}" "mv -i ${TMP_STORE_DOWNLOAD}/* ~/${DIRNAME_DOWNLOADS}/"
     ssh -t -q "${SERVER}" "mv -i ${TMP_STORE_SESSION}/* ~/${DIRNAME_SESSION}/"
     ssh -t -q "${SERVER}" "rmdir ${TMP_STORE_SESSION} && rmdir ${TMP_STORE_DOWNLOAD} && rmdir ${TMP_STORE}"
+    ssh -t -q "${SERVER}" 'kill_rtorrent'
 else
     mkdir "${TMP_STORE_SESSION}"
     mkdir "${TMP_STORE_DOWNLOAD}"