Minor fix

Signed-off-by: anas <e.anastayyar@gmail.com>
This commit is contained in:
anas 2021-08-28 00:01:24 +03:00
parent 1f80686ea0
commit 8341469643
3 changed files with 5 additions and 2 deletions

View File

@ -10,7 +10,6 @@ COPY extract /usr/local/bin
COPY pextract /usr/local/bin
RUN chmod +x /usr/local/bin/extract && chmod +x /usr/local/bin/pextract
COPY . .
COPY qBittorrent.conf ./.config/qBittorrent/qBittorrent.conf
COPY .netrc /root/.netrc
RUN chmod 600 /usr/src/app/.netrc
RUN chmod +x aria.sh

View File

@ -43,6 +43,10 @@ load_dotenv('config.env')
alive = subprocess.Popen(["python3", "alive.py"])
subprocess.run(["mkdir", "-p", "./.config/qBittorrent"])
subprocess.run(["cp", "qBittorrent.conf", "./.config/qBittorrent/qBittorrent.conf"])
subprocess.run(["qbittorrent-nox", "-d"])
Interval = []

View File

@ -1 +1 @@
gunicorn wserver:start_server --bind 0.0.0.0:$PORT --worker-class aiohttp.GunicornWebWorker & qbittorrent-nox -d & ./aria.sh; python3 -m bot
gunicorn wserver:start_server --bind 0.0.0.0:$PORT --worker-class aiohttp.GunicornWebWorker & ./aria.sh; python3 -m bot