Skip to content

Instantly share code, notes, and snippets.

View dneto82's full-sized avatar

Daniel Neto dneto82

View GitHub Profile
@dneto82
dneto82 / 99-enable-proton-port-forward-cron.sh
Created October 16, 2024 22:40 — forked from KaBankz/99-enable-proton-port-forward-cron.sh
Enable ProtonVPN port forwarding with qBittorrent on docker
#!/command/with-contenv bash
# shellcheck shell=bash
#
# This is for hotio's qBittorrent docker image, but can be used for other qBittorrent docker images
# by mounting this script to wherever your image expects custom init scripts to be, and changing
# the shebang to the appropriate path for your image
#
# This script adds proton-port-forward-for-qbittorrent.sh to the crontab to run every 15 min on container start
# Make sure proton-port-forward-for-qbittorrent.sh is in the expected location /usr/local/bin