mirror of
https://github.com/falcosecurity/falco.git
synced 2025-10-21 19:44:57 +00:00
Add init.d scripts to debian/redhat packages as well as postinstall/remove scripts to enable the falco service on install and disable it on uninstall. I still need to add support for daemonization to falco, and change the default output options to match the expected use of being daemonized.
9 lines
99 B
Bash
Executable File
9 lines
99 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
NAME=falco
|
|
|
|
if [ "$1" = "purge" ] ; then
|
|
update-rc.d $NAME remove >/dev/null
|
|
fi
|