Here are some examples of how you can start the script:
- You can run the script in the foreground:
sudo /<path>/hci/bin/run
When you run the run script this way, the script does not automatically complete, but instead remains running in the foreground.
- You can run the script as a service using systemd:
- Copy the HCI.service file to the appropriate location for your OS. For example:
cp /<path>/bin/HCI.service/etc/systemd/system
- Enable and start the search service:
sudo systemctl enable HCI.service sudo systemctl start HCI.service
- Copy the HCI.service file to the appropriate location for your OS. For example:
The unit files have no [Install] section. They are not meant to be enabled using systemctl. Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's .wants/ or .requires/ directory.2) A unit's purpose may be to act as a helper for some other unit which has a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer, D-Bus, udev, scripted systemctl call, ...).
Depending on your OS, the search service may or may not have successfully been enabled.To avoid this, make sure that you moved the Hitachi Content Intelligence.service to the appropriate location, typically /etc/systemd/system.