diff --git a/Dockers/gluetun-qbittorrent-port-syncer/main.py b/Dockers/gluetun-qbittorrent-port-syncer/main.py index a83bb0c..910bcbb 100644 --- a/Dockers/gluetun-qbittorrent-port-syncer/main.py +++ b/Dockers/gluetun-qbittorrent-port-syncer/main.py @@ -91,7 +91,9 @@ class QBitTorrentPortSyncer: if os.path.exists(self.port_file): print(f"Found port file {self.port_file}, starting monitoring...") - # Initial port update + # Push port on startup - wait a moment for file to be fully written + time.sleep(2) + print("Pushing port on startup...") self.update_port() # Start file monitoring diff --git a/Dockers/gluetun-qbittorrent-port-syncer/version b/Dockers/gluetun-qbittorrent-port-syncer/version index 9f8e9b6..b9bc2fd 100644 --- a/Dockers/gluetun-qbittorrent-port-syncer/version +++ b/Dockers/gluetun-qbittorrent-port-syncer/version @@ -1 +1 @@ -1.0 \ No newline at end of file +latest \ No newline at end of file