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.
This commit is contained in:
sha
2026-06-17 01:02:56 +03:00
parent 17c31eb27d
commit 562efdcede
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -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