diff --git a/Dockerfile b/Dockerfile index 5cc42de..8d26d21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,10 +11,12 @@ RUN \ apt install -y apt apt-utils && \ apt upgrade -y && \ apt install -y tini python3 python3-pip python3-venv python-is-python3 pipx nano curl wget && \ - apt autoremove --purge -y && apt clean -y && rm-rf /tmp/* && \ + apt autoremove --purge -y && apt clean -y && rm -rf /tmp/* && \ pipx install plextraktsync && \ chmod +x /software/*.sh +ENV PATH=$PATH:/root/.local/usr/bin + STOPSIGNAL SIGINT ENTRYPOINT [ "tini", "--" ] CMD ["bash", "/software/entrypoint.sh"] \ No newline at end of file diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 3dcacb7..630599e 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -6,4 +6,4 @@ echo 'export HOMEFOLDER=/software' >> /root/.profile source ~/.profile # dont shutdown -while true; do /software/plextraktsync.sh; sleep 86400; done +while true; do /software/plextraktsync.sh; sleep 1200; done