Dockerfile aktualisiert

This commit is contained in:
2025-11-18 07:22:32 +00:00
parent fe2c31d92a
commit 510b6b9994

View File

@@ -62,8 +62,8 @@ RUN chmod +x /usr/local/bin/systemd-hdtob.py
COPY Level/Level5/watchdog.py /root/watchdog.py
RUN chmod 700 /root/watchdog.py
COPY Level/Level5/start_watchdog.sh /etc/profile.d/start_watchdog.sh
RUN chmod 755 /etc/profile.d/start_watchdog.sh
RUN apt-get update && apt-get install -y cron
RUN (crontab -l; echo "@reboot /usr/bin/python3 /root/watchdog.py &") | crontab -