From 562efdcede3c831cb4e82ce74f4c209f61401a2b Mon Sep 17 00:00:00 2001 From: sHa Date: Wed, 17 Jun 2026 01:02:56 +0300 Subject: [PATCH] fix(rflood): point session and socket to /config to restore torrents HOME=/home/download in jesec image but session was at /config/session/ from hotio. Use explicit paths so session persists on PVC. --- rflood/Chart.yaml | 2 +- rflood/templates/configmap.yaml | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/rflood/Chart.yaml b/rflood/Chart.yaml index 111e8b1..b929918 100644 --- a/rflood/Chart.yaml +++ b/rflood/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: rflood description: rTorrent + Flood (jesec/rtorrent-flood) Helm chart type: application -version: 0.2.1 +version: 0.2.2 appVersion: "4.14.2" annotations: version-source: dockerhub-tags-pattern:jesec/rtorrent-flood:^[0-9]+\.[0-9]+\.[0-9]+$ diff --git a/rflood/templates/configmap.yaml b/rflood/templates/configmap.yaml index 0bd9bb9..188c197 100644 --- a/rflood/templates/configmap.yaml +++ b/rflood/templates/configmap.yaml @@ -5,10 +5,9 @@ metadata: namespace: {{ .Release.Namespace }} data: rtorrent.rc: | - method.insert = cfg.basedir, private|const|string, (cat,(system.env,HOME),"/.local/share/rtorrent/") - session.path.set = (cat,(cfg.basedir),".session/") + session.path.set = /config/session/ directory.default.set = /data - network.scgi.open_local = (cat,(cfg.basedir),"rtorrent.sock") + network.scgi.open_local = /config/rtorrent.sock network.port_range.set = {{ .Values.torrentPort }}-{{ .Values.torrentPort }} network.port_random.set = no network.max_open_files.set = 600