The smart-opcua service may be configured with additional startup
options to suit the needs of your installation. For example, the default connection port of
4840 can be changed using the --port
option.
About this task
Startup options can be modified in the smart-opcua.opts file
which is located in the directory /etc/defaults. Simply edit
the file and add the options needed to the SMART_OPCUA_OPTS
setting.
The contents of the default smart-opcua.opts file are as
follows:
# Default settings for smart-opcua
#
# Copyright (c) 2022 Wildlife Acoustics, Inc.
# All rights reserved.
#
# The opcua service accepts these options:
#
# --port TCP Listen Port [4840]
# --certificate Full path to the certificate .der file [/etc/ssl/private/server_cert.der]
# --key Full path to the private key .pem file [/etc/ssl/private/server_key.pem]
# --secure-channel-trust-folder Full path to folder of secure channel trust certs [/etc/ssl/private/trust]
# --session-trust-folder Full path to folder of session trust certs [/etc/ssl/private/trust]
#
# For example, to override the default listening port:
# SMART_OPCUA_OPTS="--port=35478"
SMART_OPCUA_OPTS=