From 1c630e0f5d3e30bd3f7745ab2fb4565a5d7296ba Mon Sep 17 00:00:00 2001 From: g0tmi1k Date: Mon, 4 Jun 2018 12:02:42 +0100 Subject: [PATCH] Switched from bash to sh (allowing for ash shells to work) --- CONFIG-Template.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CONFIG-Template.md b/CONFIG-Template.md index 535e4db..1dc0f69 100644 --- a/CONFIG-Template.md +++ b/CONFIG-Template.md @@ -54,12 +54,12 @@ method.insert = cfg.session, private|const|string, (cat,(cfg.basedir),".session method.insert = cfg.watch, private|const|string, (cat,(cfg.basedir),"watch/") # Create instance directories -execute.throw = bash, -c, (cat,\ - "builtin cd \"", (cfg.basedir), "\" ",\ - "&& mkdir -p \"",(cfg.download),"\" ",\ +execute.throw = sh, -c, (cat,\ + "mkdir -p \"",(cfg.download),"\" ",\ "\"",(cfg.logs),"\" ",\ "\"",(cfg.session),"\" ",\ - "\"",(cfg.watch),"\"/{load,start}") + "\"",(cfg.watch),"/load\" ",\ + "\"",(cfg.watch),"/start\" ") # Listening port for incoming peer traffic (fixed; you can also randomize it) network.port_range.set = 50000-50000 @@ -100,7 +100,7 @@ session.path.set = (cat, (cfg.session)) directory.default.set = (cat, (cfg.download)) log.execute = (cat, (cfg.logs), "execute.log") ##log.xmlrpc = (cat, (cfg.logs), "xmlrpc.log") -execute.nothrow = bash, -c, (cat, "echo >",\ +execute.nothrow = sh, -c, (cat, "echo >",\ (session.path), "rtorrent.pid", " ", (system.pid)) # Other operational settings (check & adapt) @@ -108,11 +108,11 @@ encoding.add = utf8 system.umask.set = 0027 system.cwd.set = (directory.default) network.http.dns_cache_timeout.set = 25 +##pieces.hash.on_completion.set = no +##keys.layout.set = qwerty ##network.http.capath.set = "/etc/ssl/certs" ##network.http.ssl_verify_peer.set = 0 ##network.http.ssl_verify_host.set = 0 -##pieces.hash.on_completion.set = no -##keys.layout.set = qwerty ##view.sort_current = seeding, greater=d.ratio= schedule2 = monitor_diskspace, 15, 60, ((close_low_diskspace, 1000M))