[Prelude Hybrid IDS] #298: Example init.d script for prelude correlator
"Prelude Hybrid IDS" <[email protected]>
| Newsgroups | gmane.comp.security.ids.prelude.devel |
|---|---|
| Message-ID | <[email protected]> |
#298: Example init.d script for prelude correlator
--------------------------------+-------------------------------------------
Reporter: pollux | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: prelude-correlator | Version: 0.9
Severity: normal | Keywords:
--------------------------------+-------------------------------------------
Here is the debian init.d script I wrote for Prelude Correlator.
It uses standard LSB functions (which are not Debian specific) and start-
stop-daemon, so it should work on other distros with the same tools.
The script can be re-used for other Prelude components, just by replacing
the name correlator.
Note: it reads a file ''/etc/default/prelude-correlator'' and uses some
variables. Here is the Debian default file:
{{{
DAEMONUSER=prelude-correlator # Users to run the daemons as.
RUN=yes # set to yes to start the server in the init.d script.
# you need to register the "prelude-correlator" profile
# before being able to start the correlator automatically
}}}
HTH,
Pierre
--
Ticket URL: <https://trac.prelude-ids.org/ticket/298>
Prelude Hybrid IDS <http://www.prelude-ids.org>
The Prelude Hybrid Intrusion Detection System suite
_______________________________________________
Prelude-devel site list
[email protected]
http://lists.prelude-ids.org/mailman/listinfo/prelude-devel