Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support reload in falco systemd units #2588

Merged
merged 4 commits into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/systemd/falco-bpf.service
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Type=simple
User=root
Environment=FALCO_BPF_PROBE=
ExecStart=/usr/bin/falco
ExecReload=kill -1 $MAINPID
UMask=0077
TimeoutSec=30
RestartSec=15s
Expand Down
1 change: 1 addition & 0 deletions scripts/systemd/falco-custom.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Wants=falcoctl-artifact-follow.service
Type=simple
User=%u
ExecStart=/usr/bin/falco
ExecReload=kill -1 $MAINPID
UMask=0077
TimeoutSec=30
RestartSec=15s
Expand Down
1 change: 1 addition & 0 deletions scripts/systemd/falco-kmod.service
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Wants=falcoctl-artifact-follow.service
Type=simple
User=root
ExecStart=/usr/bin/falco
ExecReload=kill -1 $MAINPID
UMask=0077
TimeoutSec=30
RestartSec=15s
Expand Down
1 change: 1 addition & 0 deletions scripts/systemd/falco-modern-bpf.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Wants=falcoctl-artifact-follow.service
Type=simple
User=root
ExecStart=/usr/bin/falco --modern-bpf
ExecReload=kill -1 $MAINPID
UMask=0077
TimeoutSec=30
RestartSec=15s
Expand Down