Skip to content

Commit df5b5d5

Browse files
committed
fix: re-announce all torrents after changing ports
1 parent 1cad031 commit df5b5d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

set_port.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,7 @@ if [[ $(transmission-remote -pt) != "Port is open: Yes" ]]; then
4040
exit 1
4141
fi
4242

43+
# Re-announce to trackers the new port. Important for mamapi to get correct port info.
44+
transmission-remote -tall --reannounce
45+
4346
exit 0

0 commit comments

Comments
 (0)