Commit d46e16cb authored by Ivan Tyagov's avatar Ivan Tyagov

Fixups.

parent 6723899b
...@@ -16,14 +16,12 @@ offline = true ...@@ -16,14 +16,12 @@ offline = true
extends = {{ template_monitor }} extends = {{ template_monitor }}
[coupler-opc-ua-new] [coupler-opc-ua-new]
recipe = slapos.recipe.template recipe = slapos.recipe.template:jinja2
output = ${directory:service}/coupler-opc-ua-new output = ${directory:service}/coupler-opc-ua-new
inline = inline =
{% raw %}
#!/bin/bash #!/bin/bash
export LD_LIBRARY_PATH='$LD_LIBRARY_PATH:{{ open62541_location }}/lib:{{ mbedtls_location }}/lib' export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:{{ open62541_location }}/lib:{{ mbedtls_location }}/lib
exec {{ coupler_location }}server -d ${instance-parameter:configuration.coupler_block_device} -s ${instance-parameter:configuration.coupler_i2c_slave_list} -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} -m ${instance-parameter:configuration.mode} {%if ${instance-parameter:configuration.network_interface} %} -j ${instance-parameter:configuration.network_interface} {% endif %} exec {{ coupler_location }}server -d ${instance-parameter:configuration.coupler_block_device} -s ${instance-parameter:configuration.coupler_i2c_slave_list} -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} -m ${instance-parameter:configuration.mode} {% if ${instance-parameter:configuration.network_interface} %} -j ${instance-parameter:configuration.network_interface} {% endif %}
{%- endraw %}
[coupler-opc-ua] [coupler-opc-ua]
recipe = slapos.cookbook:wrapper recipe = slapos.cookbook:wrapper
......
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