Create a startup script
- Last UpdatedSep 30, 2024
- 1 minute read
To create a startup script for the adapter, follow the instructions below.
-
Use a text editor to create a script similar to one of the following examples:
Note: The script varies slightly by processor.
ARM32
#!/bin/sh
if [ -z $portnum ] ; then
exec /<adapter>-arm_/OSIsoft.Data.System.Host
else
exec /<adapter>-arm_/OSIsoft.Data.System.Host --port:$portnum
fi
ARM64
#!/bin/sh
if [ -z $portnum ] ; then
exec /<adapter>-arm64_/OSIsoft.Data.System.Host
else
exec /<adapter>-arm64_/OSIsoft.Data.System.Host --port:$portnum
fi
AMD64
#!/bin/sh
if [ -z $portnum ] ; then
exec /<adapter>-x64_/OSIsoft.Data.System.Host
else
exec /<adapter>-x64_/OSIsoft.Data.System.Host --port:$portnum
fi
-
Name the script <adapter>dockerstart.sh and save it to the directory where you plan to create the container.