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:
+1
-1
@@ -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]+$
|
||||
|
||||
@@ -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