X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=dispsrv.conf;h=c9aa947034641876b62491f8b2092f961da68705;hb=9caffbc7ed251136bab144a957058e7d9f470b00;hp=5039948bbee3c526947e4b18d37df93eabb0b460;hpb=de8c5fd93c75b8611cba5530b255a3dcfd97db41;p=tpg%2Fopendispense2.git diff --git a/dispsrv.conf b/dispsrv.conf index 5039948..c9aa947 100644 --- a/dispsrv.conf +++ b/dispsrv.conf @@ -1,14 +1,33 @@ # # OpenDispense2 Server config file # -daemonise no -server_port 11020 +daemonise yes +server_port 11021 cokebank_database cokebank.db items_file items.cfg -door_serial_port /dev/ttyS0 -coke_modbus_address 130.95.13.72 +# PLC - coke brain +#coke_modbus_address 130.95.13.73 +coke_modbus_address 0.0.0.0 +# 502 is default modbus port, virtualcoke uses 1502 +coke_modbus_port 502 -trusted_host 192.168.1.39 -trusted_host 192.168.1.34 -trusted_host 192.168.1.37 +# Zero price items, defaults to off +test_mode no +#test_mode yes + +disable_syslog yes + +# Used to set dispense into a dummy mode when the coke machine is out of action +# and we're dispensing drinks from the fridge (or manually) +coke_dummy_mode no +#coke_dummy_mode yes + +door_serial_port /dev/ttyUSB0 +door_unlocked_delay 10 + +trusted_host 130.95.13.4 # Merlo +trusted_host 130.95.13.7 # motsugo +trusted_host 130.95.13.18 # mussel +trusted_host 130.95.13.23 # martello +trusted_host 130.95.13.42 # meersau