diff --git a/alpine.docker b/alpine.docker index ce4704f..47f8cfc 100644 --- a/alpine.docker +++ b/alpine.docker @@ -35,7 +35,7 @@ RUN chmod +x /usr/local/bin/*.sh # Fix for docker RUN grep -q '^user=root' || echo 'user=root' >> /etc/dnsmasq.conf -COPY ./start.sh / +COPY ./alpine/start.sh / EXPOSE 53 53/udp EXPOSE 80 diff --git a/start.sh b/alpine/start.sh similarity index 100% rename from start.sh rename to alpine/start.sh diff --git a/debian.docker b/debian.docker index bfb1b98..cf99735 100644 --- a/debian.docker +++ b/debian.docker @@ -41,6 +41,6 @@ RUN chmod +x /usr/local/bin/*.sh # Fix just for docker RUN grep -q '^user=root' || echo 'user=root' >> /etc/dnsmasq.conf -COPY ./start.sh / +COPY ./debian/start.sh / ENTRYPOINT ["/tini", "--"] CMD /start.sh diff --git a/debian/start.sh b/debian/start.sh new file mode 100755 index 0000000..8a61a09 --- /dev/null +++ b/debian/start.sh @@ -0,0 +1,8 @@ +#!/bin/sh + + +service lighttpd start +gravity.sh # dnsmasq start included + +tail -f /var/log/lighttpd/*.log /var/log/pihole.log +