Samhain | ||
---|---|---|
<<< Previous | Next >>> |
From the command line
samhain -t init [more options] — To initialize the database
samhain -t check [more options] — To check against the database
By default, samhain will not become a daemon, but stay in the foreground. Daemon mode must be set in the configuration file or on the command line. Also by default, samhain will neither initialize its file system database nor check the file system against it. The desired mode must be set in the configuration file or on the command line. A complete list of command line options is given in the appendix.
To start as daemon during the boot sequence
For Linux (Debian, Redhat, Gentoo, and SuSE), FreeBSD, Solaris, HP-UX, AIX, IRIX make install-boot will setup your system for starting the daemon upon system boot (if the correct OS/distribution cannot be determined, nothing will be done).
For any other system, you need to figure out by yourself how to start samhain during the boot sequence.
samhain does not auto-background itself (to become a daemon) unless explicitely specified in the config file or on the command line. However, normally it runs in single-shot mode if not used as daemon. To cause samhain to enter the main loop while running in the foreground (as required if you want to use daemontool), you need to start with the option -f or --forever. Note that yule, the server, will always loop.
<<< Previous | Home | Next >>> |
Files and directory layout | What happens after startup ? |