diff options
| author | hc <hc@a.nub.ninja> | 2026-02-07 12:15:01 +0000 |
|---|---|---|
| committer | hc <hc@a.nub.ninja> | 2026-02-07 12:15:01 +0000 |
| commit | f6cdeabe2f57b97299308e16486958ed122315b9 (patch) | |
| tree | c570f1b5ef373eb251c8504992b95f1b7789746f /docs | |
Diffstat (limited to 'docs')
| -rw-r--r-- | docs | 35 |
1 files changed, 35 insertions, 0 deletions
| @@ -0,0 +1,35 @@ | |||
| 1 | ## Setup | ||
| 2 | |||
| 3 | Both must use --in-pod=false so the torrent container can attach to the VPN container's network. | ||
| 4 | Downloads 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 | |||
| 34 | GID is the hex ID from aria2p show. | ||
| 35 | |||
