You can run the Feed Service binary file from the command line.
We recommend that you use systemd to manage Feed Service. Running Feed Service from the command line is intended for troubleshooting purposes.
The binary file uses the flags described in the following table.
Flags for kl_feed_service
Flag |
Value |
Description |
|
Path to the configuration file |
Path to the configuration file. You can use absolute or relative paths. If a relative path is specified, it is calculated relative to the Feed Service binary file. |
|
|
Runs Feed Service in watchdog mode. |
|
|
Prints the Feed Service version. If flags except |
|
Path to the PID file. |
Path to the PID file. You can use absolute or relative paths. If a relative path is specified, it is calculated relative to the Feed Service binary file. This flag is optional. By default, PID file is created in a directory with the Feed Service binary file. |
|
|
Prints the information about flags that can be used with kl_feed_service. If other flags are specified, they will be ignored. |
Example
The following command runs Feed Service in watchdog mode and specifies serv.conf as the configuration file.
./kl_feed_service -w -c "./serv.conf" |