summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs35
1 files changed, 35 insertions, 0 deletions
diff --git a/docs b/docs
new file mode 100644
index 0000000..42baa53
--- /dev/null
+++ b/docs
@@ -0,0 +1,35 @@
1## Setup
2
3Both must use --in-pod=false so the torrent container can attach to the VPN container's network.
4Downloads appear in /root/downloads on the host.
5
6 cd /root/mullvad-docker && podman compose --in-pod=false up -d
7 cd /root/mullvad-docker/torrent && podman compose --in-pod=false up -d
8
9## Shell into container
10
11 podman exec -it torrent bash
12
13## aria2p commands
14
15 # Add downloads
16 aria2p add "magnet:?xt=urn:btih:..."
17 aria2p add "https://example.com/file.zip"
18 aria2p add /path/to/file.torrent
19
20 # Monitor
21 aria2p show # list all downloads
22 aria2p top # live TUI
23
24 # Control
25 aria2p pause <GID> # pause one
26 aria2p resume <GID> # resume one
27 aria2p remove <GID> # remove one
28 aria2p pause-all
29 aria2p resume-all
30
31 # Cleanup
32 aria2p purge # clear completed/errored from list
33
34GID is the hex ID from aria2p show.
35