Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rtorrent-docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
rtorrent-docker
Commits
e88d2fbc
Verified
Commit
e88d2fbc
authored
2 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
feat: allow setting loglevel via env
parent
3ef44f41
Loading
Loading
No related merge requests found
Pipeline
#2888
passed
2 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
daemon/Dockerfile
+1
-5
1 addition, 5 deletions
daemon/Dockerfile
daemon/src/rtorrent.rc
+1
-1
1 addition, 1 deletion
daemon/src/rtorrent.rc
with
2 additions
and
6 deletions
daemon/Dockerfile
+
1
−
5
View file @
e88d2fbc
...
...
@@ -62,8 +62,6 @@ COPY src/rtorrent.rc /rtorrent.rc
COPY
entrypoint.sh /entrypoint.sh
ENV
RT_TRACKER_UDP="yes"
ENV
RT_DHT_MODE="disable"
ENV
RT_DHT_PORT=49160
ENV
RT_PROTO_PEX="no"
ENV
RT_MAX_UP=100
ENV
RT_MAX_UP_GLOBAL=250
...
...
@@ -73,9 +71,7 @@ ENV RT_MIN_PEERS_SEED=30
ENV
RT_MAX_PEERS_SEED=80
ENV
RT_TRACKERS_WANT=80
ENV
RT_MEMORY_MAX="1800M"
ENV
RT_DAEMON="true"
ENV
RT_XMLRPC_BIND="0.0.0.0"
ENV
RT_XMLRPC_PORT="5000"
ENV
RT_LOGLEVEL="info"
VOLUME
["/data"]
VOLUME
["/tmp"]
...
...
This diff is collapsed.
Click to expand it.
daemon/src/rtorrent.rc
+
1
−
1
View file @
e88d2fbc
...
...
@@ -75,5 +75,5 @@ network.scgi.open_port = 0.0.0.0:5000
# Groups = connection_* dht_* peer_* rpc_* storage_* thread_* tracker_* torrent_*
print = (cat, "Logging to ", (cfg.logfile))
log.open_file = "log", (cfg.logfile)
log.add_output =
"info"
, "log"
log.add_output =
(system.env,RT_LOGLEVEL)
, "log"
##log.add_output = "tracker_debug", "log"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment