From bb221e068cfabd5715d8c2fd7e9be838032901b9 Mon Sep 17 00:00:00 2001 From: Mike Wilson Date: Tue, 1 Apr 2025 11:23:51 -0400 Subject: [PATCH] Fix volume mount paths so cross-seed and qbittorrent torrent patchs match --- ansible/roles/qbittorrent/templates/cross-seed/config.js | 2 +- ansible/roles/qbittorrent/templates/docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/qbittorrent/templates/cross-seed/config.js b/ansible/roles/qbittorrent/templates/cross-seed/config.js index 44e53bb..f61ae5e 100644 --- a/ansible/roles/qbittorrent/templates/cross-seed/config.js +++ b/ansible/roles/qbittorrent/templates/cross-seed/config.js @@ -31,7 +31,7 @@ module.exports = { duplicateCategories: true, // This is instead of setting a linkCategory seasonsFromEpisodes: 0.8, matchMode: "partial", - linkDirs: ["/torrents/cross-seed"], + linkDirs: ["/data/torrents/cross-seed"], linkType: "hardlink", notificationWebhookUrls: ["https://webhooks.cheogram.com/{{ crossseed_webhook_endpoint }}"], port: 2468, diff --git a/ansible/roles/qbittorrent/templates/docker-compose.yml b/ansible/roles/qbittorrent/templates/docker-compose.yml index e201b6e..e82135a 100644 --- a/ansible/roles/qbittorrent/templates/docker-compose.yml +++ b/ansible/roles/qbittorrent/templates/docker-compose.yml @@ -49,7 +49,7 @@ services: user: "{{ service_user.uid }}:{{ service_user.uid }}" volumes: - "{{ data_dir }}/cross-seed:/config" - - "{{ media_storage_mnt }}/data/torrents:/torrents" # Necessary for partial matching + - "{{ media_storage_mnt }}/data/torrents:/data/torrents" # Necessary for partial matching command: daemon restart: unless-stopped