03. Software Configurations
Introduction
"NEQTO Engine for Linux" consists of a daemon application (called "NEQTO Daemon") that provides services via "systemd"
or "SysVinit"
.
NEQTO Service
Where to register for the NEQTO service
The NEQTO service is registered under "systemd"
or "SysVinit"
.
The following commands can be used to check the destination of registration.
$ find /etc/systemd/system /etc/init.d -type f -name "neqto*" |
- For
"systemd"
, it will display/etc/systemd/system/neqto.service
. - For
"SysVinit"
, it will display/etc/init.d/neqto
.
Startup management of the NEQTO service
After installation, the NEQTO service is configured to start automatically and is resident.
The startup log of the NEQTO service will be output to "syslog"
.
"systemd"
If the NEQTO service is registered under It is possible to use the "systemctl"
command for various controls.
Command | Description | Note |
---|---|---|
systemctl start neqto | Starts the NEQTO service. | The service starts immediately after installation. |
systemctl stop neqto | Stops the NEQTO service. | |
systemctl restart neqto | Restarts the NEQTO service. | |
systemctl status neqto | Checks the status of the NEQTO service. | |
systemctl enable neqto | Enables automatic startup of the NEQTO service. | After installation, automatic startup is enabled. |
systemctl disable neqto | Disables automatic startup of the NEQTO service. |
"SysVinit"
If the NEQTO service is registered under It is possible to use the following commands for various controls.
For automatic startup configuration of the NEQTO service, use the "update-rc.d"
or "chkconfig"
command.
Command | Description | Note |
---|---|---|
/etc/init.d/neqto start | Starts the NEQTO service. | The service starts immediately after installation. |
/etc/init.d/neqto stop | Stops the NEQTO service. | |
/etc/init.d/neqto restart | Restarts the NEQTO service. | |
/etc/init.d/neqto status | Checks the status of the NEQTO service. | |
update-rc.d neqto defaults or chkconfig --add neqto | Enables automatic startup of the NEQTO service. | After installation, automatic startup is enabled. |
update-rc.d neqto remove or chkconfig --del neqto | Disables automatic startup of the NEQTO service. |
NEQTO Daemon Log
The NEQTO daemon outputs the log to /tmp/neqto/log/neqto.log
.
The "neqto.log"
will be log rotated by file size. In the default configuration, logs are rotated at 256KB
and up to 3
generations of log files are archived in the same directory.
To display log output in real time, the "tail -F"
command can be utilized.
$ tail -F /tmp/neqto/log/neqto.log |
Serial ID
The serial ID issued during installation can be found in the /var/lib/neqto/serial
file.
$ cat /var/lib/neqto/serial |
Configuration file
The system configuration of the NEQTO daemon can be changed in /etc/neqto/neqto.config
.
If a parameter is not specified or commented out, the default value will be applied.
To comment out, append #
to the beginning of the line.
The NEQTO service needs to be restarted to apply the new configurations.
# NEQTO configuration #LogRotate 3 #LogRotateSize 262144    : |
Parameters | Content | Note |
---|---|---|
LogRotate | Number of log rotation generations Range: 0 - The default value is 3. | |
LogRotateSize | Log rotation size [Byte] Range: 4096 - The default value is 262144. | |
AutoTimeCorrection | Automatic time correction setting true: Enabled false: Disabled The default value is false. | |
EngineHeapSize | Javascript engine heap memory size [Byte] Range: 131072 - 524288 The default value is 131072. |