Fix
This commit is contained in:
@@ -73,6 +73,7 @@ RUN curl -J -L -o /tmp/bashio.tar.gz \
|
|||||||
EXPOSE 8125/udp 8092/udp 8094
|
EXPOSE 8125/udp 8092/udp 8094
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY settings.sh /settings.sh
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
CMD ["telegraf"]
|
CMD ["telegraf"]
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
. /settings.sh
|
||||||
|
|
||||||
if [ "${1:0:1}" = '-' ]; then
|
if [ "${1:0:1}" = '-' ]; then
|
||||||
set -- telegraf "$@"
|
set -- telegraf "$@"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user