mirror of
https://github.com/shadoll/helm-charts.git
synced 2026-08-28 11:33:17 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user