falco/scripts/debian
Mark Stemm a787dc84d5 Add daemonization, fix any bugs found.
Add support for daemonizing via the --daemon flag. If daemonized, the
pid is written to the file provided via the --pidfile flag. When
daemonized, falco immediately returns an error if stderr output or
logging was chosen on the command line.

Clean up handling of outputs to match the expected use case (daemon):

 - syslog output is enabled by default
 - stdout output is disabled by default
 - If not configured at all, both outputs are enabled.

Also fix some bugs I found while running via packages:

 - There were still some references to the old rules filename
   falco_rules.conf.
 - The redhat package mistakenly defined some system directories like
   /etc, /etc/init.d. Add them to the exclusion list (See
   https://cmake.org/Bug/view.php?id=13609 for context).
 - Clean up some of the error messages to be more consistent.

After this I was able to build and install debian and rpm
packages. Starting the falco service ran falco as a daemon with syslog
output.
2016-05-06 17:25:54 -07:00
..
falco Add daemonization, fix any bugs found. 2016-05-06 17:25:54 -07:00
postinst Add init.d files to debian/redhat packages. 2016-05-06 14:04:44 -07:00
postrm Add init.d files to debian/redhat packages. 2016-05-06 14:04:44 -07:00
prerm Add init.d files to debian/redhat packages. 2016-05-06 14:04:44 -07:00