mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2024-06-27 19:55:14 +02:00
adding alpine service
replacement commands
This commit is contained in:
parent
f6006e09d5
commit
22b9053993
|
@ -16,7 +16,11 @@ RUN apk add --update \
|
|||
COPY ./pi-hole/gravity.sh /usr/local/bin/
|
||||
COPY ./pi-hole/advanced/Scripts/* /usr/local/bin/
|
||||
COPY ./pi-hole/pihole /usr/local/bin/
|
||||
RUN sed -i 's|service dnsmasq \(re\)\{0,1\}start|dnsmasq -7 /etc/dnsmasq.d|g' \
|
||||
RUN sed -i 's|service dnsmasq restart|kill -9 $(pidof dnsmasq); dnsmasq -7 /etc/dnsmasq.d|g' \
|
||||
/usr/local/bin/pihole \
|
||||
/usr/local/bin/gravity.sh \
|
||||
/usr/local/bin/list.sh
|
||||
RUN sed -i 's|service dnsmasq start|dnsmasq -7 /etc/dnsmasq.d|g' \
|
||||
/usr/local/bin/pihole \
|
||||
/usr/local/bin/gravity.sh \
|
||||
/usr/local/bin/list.sh
|
||||
|
|
Loading…
Reference in New Issue
Block a user