Bonjour,
Je viens de tester la config ci dessous avec linuxserver/rutorrent
https://mondedie.fr/d/10037-rtorrent-cleaner-un-script-pour-liberer-de-la-place-sur-votre-seedbox-!/223
J'ai placé le script dans /usr/local/bin
Du coup je tape rtorrent-cleaner report et ca fonctionne.
execute = {sh,-c,/usr/bin/php7 /usr/share/webapps/rutorrent/php/initplugins.php abc &}
execute.nothrow = rm,/run/php/.rtorrent.sock
network.scgi.open_local = /run/php/.rtorrent.sock
schedule = socket_chmod,0,0,"execute=chmod,0660,/run/php/.rtorrent.sock"
schedule = socket_chgrp,0,0,"execute=chgrp,abc,/run/php/.rtorrent.sock"
log.open_file = "rtorrent", /config/log/rtorrent/rtorrent.log
log.add_output = "info", "rtorrent"
min_peers = 40
max_peers = 1200
max_uploads = 15
download_rate = 90000
upload_rate = 30000
# schedule = watch_directory_1,5,5,"load.start=/downloads/watched/*.torrent"
directory = /home/yohann/local/rutorrent
session = /config/rtorrent/rtorrent_sess
schedule = low_diskspace,5,60,close_low_diskspace=5000M
# ip = 178.32.28.51
bind = 0.0.0.0
port_range = 5000-5000
check_hash = no
encryption = allow_incoming,try_outgoing,enable_retry
#dht = auto
#dht_port = 6881
# network.http.ssl_verify_peer.set=0
# scgi_port = 0.0.0.0:5000
encoding_list = UTF-8
# system.umask.set = 022
directory.default.set = /home/yohann/local/rutorrent
throttle.max_downloads.global.set = 500
throttle.max_uploads.global.set = 50
system.file.allocate.set = 0
max_downloads = 10
throttle.global_up.max_rate.set_kb = 0
pieces.preload.type = 2
network.http.dns_cache_timeout.set = 25
network.send_buffer.size.set = 12M
network.receive_buffer.size.set = 4M
throttle.min_peers.seed.set = 0
throttle.max_peers.seed.set = -1