Commit 372c08c6 authored by Ivan Tyagov's avatar Ivan Tyagov

Use SlapOS's open62541's shared library (same one against which coupler

was built against) and not system wide one in /usr/local/lib which
was the case recently.
parent ed2df11a
......@@ -6,4 +6,4 @@ filename = instance-opc-ua.cfg.in
md5sum = 542fca1e0708b70229a700965e1db989
filename = instance-opc-ua-virtual.cfg.in
md5sum = 05e6b318b47cb2a7da8c54a6f65bc7cd
md5sum = d10c8e58066b944058489b1b59b2bb53
......@@ -16,6 +16,8 @@ extends = {{ template_monitor }}
[coupler-opc-ua]
recipe = slapos.cookbook:wrapper
environment =
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:{{ open62541_location }}/lib
command-line =
{{ buildout['bin-directory'] }}/server -d ${instance-parameter:configuration.coupler_block_device} -s ${instance-parameter:configuration.coupler_i2c_slave_list} -m 1 -p ${instance-parameter:configuration.opc_ua_port} -u ${instance-parameter:configuration.username} -w ${instance-parameter:configuration.password} -b ${instance-parameter:configuration.heart_beat} -t ${instance-parameter:configuration.heart_beat_interval} -l ${instance-parameter:configuration.heart_beat_id_list} -n ${instance-parameter:configuration.network_address_url_data_type} -o ${instance-parameter:configuration.heart_beat_timeout_interval} -i ${instance-parameter:configuration.id}
......
......@@ -14,5 +14,6 @@ extensions = jinja2.ext.do
context =
section buildout buildout
raw template_monitor ${monitor2-template:output}
key open62541_location open62541:location
# md5sum is fetched from buildout.hash.cfg and can be recalculated automatically by
# calling update-hash
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment