mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-13 20:56:17 +00:00
Switched from bash to sh (allowing for ash shells to work)
+7
-7
@@ -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/")
|
method.insert = cfg.watch, private|const|string, (cat,(cfg.basedir),"watch/")
|
||||||
|
|
||||||
# Create instance directories
|
# Create instance directories
|
||||||
execute.throw = bash, -c, (cat,\
|
execute.throw = sh, -c, (cat,\
|
||||||
"builtin cd \"", (cfg.basedir), "\" ",\
|
"mkdir -p \"",(cfg.download),"\" ",\
|
||||||
"&& mkdir -p \"",(cfg.download),"\" ",\
|
|
||||||
"\"",(cfg.logs),"\" ",\
|
"\"",(cfg.logs),"\" ",\
|
||||||
"\"",(cfg.session),"\" ",\
|
"\"",(cfg.session),"\" ",\
|
||||||
"\"",(cfg.watch),"\"/{load,start}")
|
"\"",(cfg.watch),"/load\" ",\
|
||||||
|
"\"",(cfg.watch),"/start\" ")
|
||||||
|
|
||||||
# Listening port for incoming peer traffic (fixed; you can also randomize it)
|
# Listening port for incoming peer traffic (fixed; you can also randomize it)
|
||||||
network.port_range.set = 50000-50000
|
network.port_range.set = 50000-50000
|
||||||
@@ -100,7 +100,7 @@ session.path.set = (cat, (cfg.session))
|
|||||||
directory.default.set = (cat, (cfg.download))
|
directory.default.set = (cat, (cfg.download))
|
||||||
log.execute = (cat, (cfg.logs), "execute.log")
|
log.execute = (cat, (cfg.logs), "execute.log")
|
||||||
##log.xmlrpc = (cat, (cfg.logs), "xmlrpc.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))
|
(session.path), "rtorrent.pid", " ", (system.pid))
|
||||||
|
|
||||||
# Other operational settings (check & adapt)
|
# Other operational settings (check & adapt)
|
||||||
@@ -108,11 +108,11 @@ encoding.add = utf8
|
|||||||
system.umask.set = 0027
|
system.umask.set = 0027
|
||||||
system.cwd.set = (directory.default)
|
system.cwd.set = (directory.default)
|
||||||
network.http.dns_cache_timeout.set = 25
|
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.capath.set = "/etc/ssl/certs"
|
||||||
##network.http.ssl_verify_peer.set = 0
|
##network.http.ssl_verify_peer.set = 0
|
||||||
##network.http.ssl_verify_host.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=
|
##view.sort_current = seeding, greater=d.ratio=
|
||||||
schedule2 = monitor_diskspace, 15, 60, ((close_low_diskspace, 1000M))
|
schedule2 = monitor_diskspace, 15, 60, ((close_low_diskspace, 1000M))
|
||||||
|
|||||||
Reference in New Issue
Block a user