03. Software Configurations
Introduction
"NEQTO Engine for Linux" consists of a daemon application (called "NEQTO Daemon") that provides services via "systemd"
.
NEQTO Service
The NEQTO daemon is launched and managed by "systemd"
.
It is possible to use the systemctl
command for various controls.
Command | Content | Note |
---|---|---|
systemctl stop neqto | Stops the NEQTO service. | |
systemctl start neqto | Starts the NEQTO service. | The service starts immediately after installation. |
systemctl restart neqto | Restarts the NEQTO service. | |
systemctl disable neqto | Disables automatic startup of the NEQTO service. | |
systemctl enable neqto | Enables automatic startup of the NEQTO service. | After installation, automatic startup is enabled. |
systemctl status neqto | Checks the status of the NEQTO service. |
The startup log of the NEQTO service is output to "syslog"
.
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. |