This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |