From 2e31171fe5f19b50e80385810041836e87e7fc28 Mon Sep 17 00:00:00 2001 From: Macleykun Date: Sun, 19 Jun 2022 13:36:54 +0200 Subject: [PATCH] test again? --- Dockerfile | 3 +-- dockerfiles/start.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1e7ed043..5ba9cbb9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,5 +24,4 @@ RUN rm -r /home/pi/pialert/tar \ # Todo, refacto CMD so that we can run lighttpd and make it respond instant # The above Dockerfile is doing this well, but i don't see why it isn't working for us -#CMD ["/home/pi/pialert/dockerfiles/start.sh"] -CMD ["/usr/sbin/lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"] \ No newline at end of file +CMD ["/home/pi/pialert/dockerfiles/start.sh"] \ No newline at end of file diff --git a/dockerfiles/start.sh b/dockerfiles/start.sh index 2e9c4ecb..b1bd7f48 100755 --- a/dockerfiles/start.sh +++ b/dockerfiles/start.sh @@ -2,4 +2,4 @@ chmod -R o+w /home/pi/pialert/db /etc/init.d/lighttpd start -service cron start && tail -f /dev/null +cron && tail -f /var/log/cron.log \ No newline at end of file