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
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
COPY settings.sh /settings.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["telegraf"]
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
. /settings.sh
|
||||
|
||||
if [ "${1:0:1}" = '-' ]; then
|
||||
set -- telegraf "$@"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user