kopia lustrzana https://github.com/weetmuts/wmbusmeters
Update docker-entrypoint.sh
Adding directory where xmq drivers would be placed.pull/1387/head
rodzic
6b38184cf9
commit
ea5e008fb5
|
@ -2,6 +2,7 @@
|
|||
|
||||
[ ! -d /wmbusmeters_data/logs/meter_readings ] && mkdir -p /wmbusmeters_data/logs/meter_readings
|
||||
[ ! -d /wmbusmeters_data/etc/wmbusmeters.d ] && mkdir -p /wmbusmeters_data/etc/wmbusmeters.d
|
||||
[ ! -d /wmbusmeters_data/etc/wmbusmeters.drivers.d ] && mkdir -p /wmbusmeters_data/etc/wmbusmeters.drivers.d
|
||||
[ ! -f /wmbusmeters_data/etc/wmbusmeters.conf ] && echo -e "loglevel=normal\ndevice=auto:t1\ndonotprobe=/dev/ttyAMA0\nlogtelegrams=false\nformat=json\nmeterfiles=/wmbusmeters_data/logs/meter_readings\nmeterfilesaction=overwrite\nlogfile=/wmbusmeters_data/logs/wmbusmeters.log" > /wmbusmeters_data/etc/wmbusmeters.conf
|
||||
|
||||
/wmbusmeters/wmbusmeters --useconfig=/wmbusmeters_data
|
||||
|
|
Ładowanie…
Reference in New Issue