summaryrefslogtreecommitdiffstats
path: root/system/ossec-agent/README.SLACKWARE
blob: e07808bfc66d98c0c7a7f5ef96e53a6a5355f0ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
You may wish to add these lines to /etc/rc.d/rc.local to start the service:

if [ -x /etc/rc.d/rc.ossec ]; then
  /etc/rc.d/rc.ossec start
fi

You may also add these lines to /etc/rc.d/rc.local_shutdown:

if [ -x /etc/rc.d/rc.ossec ]; then
  /etc/rc.d/rc.ossec stop
fi

Remember to give executable permission to /etc/rc.d/rc.local_shutdown:

  chmod 0755 /etc/rc.d/rc.local_shutdown