I am running CentOS7 with OSSEC 2.9.2. Is there a way to make OSSEC automatically start the server after a reboot? Currently it appears to require that I run the ossec-control start after every reboot.
How to make the OSSEC server service start automatically on reboot
centos7ossec
Best Answer
To run OSSEC as a service create a new file /usr/lib/system/system/ossec.service
Reload systemd
To boot on start up
To start ossec as a service