mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-07 09:40:44 +00:00
chore(scripts): added support for falco@plugin.target.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
This commit is contained in:
committed by
poiana
parent
b04bb2e32e
commit
91fe2e9e24
@@ -3,6 +3,7 @@ Description=Falco: Container Native Runtime Security with ebpf
|
||||
Documentation=https://falco.org/docs/
|
||||
PartOf=falco@ebpf.target
|
||||
Conflicts=falco-kmod.service
|
||||
Conflicts=falco-plugin.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
@@ -5,6 +5,7 @@ After=falco-kmod-inject.service
|
||||
Requires=falco-kmod-inject.service
|
||||
PartOf=falco@kmod.target
|
||||
Conflicts=falco-ebpf.service
|
||||
Conflicts=falco-plugin.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
23
scripts/systemd/falco-plugin.service
Normal file
23
scripts/systemd/falco-plugin.service
Normal file
@@ -0,0 +1,23 @@
|
||||
[Unit]
|
||||
Description=Falco: Container Native Runtime Security with plugin
|
||||
Documentation=https://falco.org/docs/
|
||||
PartOf=falco@plugin.target
|
||||
Conflicts=falco-kmod.service
|
||||
Conflicts=falco-ebpf.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=%u
|
||||
ExecStart=/usr/bin/falco --pidfile=/var/run/falco.pid
|
||||
UMask=0077
|
||||
TimeoutSec=30
|
||||
RestartSec=15s
|
||||
Restart=on-failure
|
||||
PrivateTmp=true
|
||||
NoNewPrivileges=yes
|
||||
ProtectHome=read-only
|
||||
ProtectSystem=full
|
||||
ProtectKernelTunables=true
|
||||
RestrictRealtime=true
|
||||
RestrictAddressFamilies=~AF_PACKET
|
||||
StandardOutput=null
|
Reference in New Issue
Block a user