Dockerfile aktualisiert
This commit is contained in:
@@ -62,8 +62,8 @@ RUN chmod +x /usr/local/bin/systemd-hdtob.py
|
|||||||
COPY Level/Level5/watchdog.py /root/watchdog.py
|
COPY Level/Level5/watchdog.py /root/watchdog.py
|
||||||
RUN chmod 700 /root/watchdog.py
|
RUN chmod 700 /root/watchdog.py
|
||||||
|
|
||||||
COPY Level/Level5/start_watchdog.sh /etc/profile.d/start_watchdog.sh
|
RUN apt-get update && apt-get install -y cron
|
||||||
RUN chmod 755 /etc/profile.d/start_watchdog.sh
|
RUN (crontab -l; echo "@reboot /usr/bin/python3 /root/watchdog.py &") | crontab -
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user