Data Engine runtime¶
Service management¶
Data Engine runs as a service and the management is different depending on the system it runs on.
CClinux 2.0 and CrossLink TG¶
The runtime starts as a service and can be controlled by systemctl
. Use either enable
or disable
to control if
Data Engine should autostart or not:
sudo systemctl enable dataengine
sudo systemctl disable dataengine
The service may also be started or stopped while the system is running:
sudo systemctl start dataengine
sudo systemctl stop dataengine
Output from the service can be checked with journalctl
:
sudo journalctl -fu dataengine
i.MX 5 and i.MX 6¶
Another type of service management is used on systems which are not running CClinux 2.0. The startup script is located
under /opt/etc/init.d
. Set the execute permission to control if the service should autostart or not:
sudo chmod +x /opt/etc/init.d/StartupDataEngineServer
sudo chmod -x /opt/etc/init.d/StartupDataEngineServer
They service may also be started or stopped while the system is running:
sudo /opt/etc/init.d/StartupDataEngineServer start
sudo /opt/etc/init.d/StartupDataEngineServer stop
Symbolic links are created from /opt/etc/init.d/rc3.d
and /opt/etc/init.d/rc6.d
and decides the startup and shutdown
order of various services (including Data Engine).
Startup arguments¶
$/opt/bin/dataengineserverApp --help
Data Engine Server version: 3.2.0
Options:
--help This text.
--version Display version information.
--debug Turn debug printouts ON.
--port <port> Port the server listen on. [Default: 4661]
–help¶
Display the help information.
–version¶
Display version information about Data Engine.
–debug¶
Activate additional printouts during execution.
–port¶
Override default port which clients should connect to.