My task is to install only the OSquery daemon manually I do not want OSquery shell i.e.osqueryi. So I figure out that I need to ship a few files/executables to their respective locations and then start the OSquery service using the command "sudo systemctl start osqueryd".
The files needed to ship are:
/usr/lib/systemd/system/osqueryd.service
- service file to start the OSquery service/etc/default/osqueryd
- According to the service file, this location requires one executable./opt/osquery/bin/osqueryd
- According to the service file, this location requires one executable./etc/init.d/osqueryd
- Executable daemon/etc/osquery/osquery.conf
- OSquery configuration file
Is this the right way to go about it? Please suggest if there is any other, simpler way.