mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-04 07:54:46 +02:00
0642251ada
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
15 lines
383 B
Text
15 lines
383 B
Text
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
|