start split for each OS directory to keep debian functional
This commit is contained in:
parent
972a6c3c39
commit
2cfb144fe5
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
service lighttpd start
|
||||
gravity.sh # dnsmasq start included
|
||||
|
||||
tail -f /var/log/lighttpd/*.log /var/log/pihole.log
|
||||
|
Loading…
Reference in New Issue