jesec to normal rtorrent
Some checks are pending
Plex Update / update (push) Waiting to run

This commit is contained in:
Vivian 2025-07-10 19:34:44 +02:00
parent e18b028d06
commit 9b29d097f8
3 changed files with 31 additions and 30 deletions

View file

@ -27,10 +27,10 @@ in {
services.garage = {
enable = true;
package = pkgs.garage_0_9;
package = pkgs.garage_1;
settings = {
db_engine = "lmdb"; # Recommended for mastodon
replication_mode = "1";
db_engine = "lmdb";
replication_factor = 1;
compression_level = 0;
# For inter-node comms

View file

@ -3,7 +3,7 @@
enable = true;
port = 14764; # port forwarded
downloadDir = "/mnt/storage/torrents/r";
package = pkgs.jesec-rtorrent;
package = pkgs.rtorrent;
configText =
let cfg = config.services.rtorrent;
in pkgs.lib.mkForce ''
@ -27,15 +27,15 @@
method.insert = cfg.watch, private|const|string, (cat,(cfg.basedir),"watch/")
# Create directories
fs.mkdir.recursive = (cat,(cfg.basedir))
# fs.mkdir.recursive = (cat,(cfg.basedir))
fs.mkdir = (cat,(cfg.download))
fs.mkdir = (cat,(cfg.logs))
fs.mkdir = (cat,(cfg.session))
# fs.mkdir = (cat,(cfg.download))
# fs.mkdir = (cat,(cfg.logs))
# fs.mkdir = (cat,(cfg.session))
fs.mkdir = (cat,(cfg.watch))
fs.mkdir = (cat,(cfg.watch),"/load")
fs.mkdir = (cat,(cfg.watch),"/start")
# fs.mkdir = (cat,(cfg.watch))
# fs.mkdir = (cat,(cfg.watch),"/load")
# fs.mkdir = (cat,(cfg.watch),"/start")
# Drop to "$(cfg.watch)/load" to add torrent
schedule2 = watch_load, 11, 10, ((load.verbose, (cat, (cfg.watch), "load/*.torrent")))
@ -100,7 +100,8 @@
system.daemon.set = true
# XML-RPC interface
network.scgi.open_local = (cat,(cfg.rpcsock))
#network.scgi.open_local = (cat,(cfg.rpcsock))
network.scgi.open_port = localhost:5000
schedule = scgi_group,0,0,"execute.nothrow=chown,\":rtorrent\",(cfg.rpcsock)"
schedule = scgi_permission,0,0,"execute.nothrow=chmod,\"g+w,o=\",(cfg.rpcsock)"