From 9d17ac9053681a37a4ff327272cc6cbe5577144a Mon Sep 17 00:00:00 2001 From: jabdr Date: Thu, 25 May 2023 17:26:26 +0200 Subject: [PATCH 1/4] Support reload in falco-kmod.service Signed-off-by: jabdr --- scripts/systemd/falco-kmod.service | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/systemd/falco-kmod.service b/scripts/systemd/falco-kmod.service index a149dc74b7c..b66e5758417 100644 --- a/scripts/systemd/falco-kmod.service +++ b/scripts/systemd/falco-kmod.service @@ -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 From 2ea8171966c24e8dbf89eec750784de6b378a109 Mon Sep 17 00:00:00 2001 From: jabdr Date: Thu, 25 May 2023 17:31:47 +0200 Subject: [PATCH 2/4] Support reload in falco-bpf.service Signed-off-by: jabdr --- scripts/systemd/falco-bpf.service | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/systemd/falco-bpf.service b/scripts/systemd/falco-bpf.service index aec501b67a4..e9b7c0ff473 100644 --- a/scripts/systemd/falco-bpf.service +++ b/scripts/systemd/falco-bpf.service @@ -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 From 1a0ff4e61e0ad24dd24ecbd20d2329d0da67455f Mon Sep 17 00:00:00 2001 From: jabdr Date: Thu, 25 May 2023 17:32:10 +0200 Subject: [PATCH 3/4] Support reload in falco-custom.service Signed-off-by: jabdr --- scripts/systemd/falco-custom.service | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/systemd/falco-custom.service b/scripts/systemd/falco-custom.service index 95f806bd5e7..b94a4853292 100644 --- a/scripts/systemd/falco-custom.service +++ b/scripts/systemd/falco-custom.service @@ -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 From 69c56201bf089a011d4fc82356771e43777c98ec Mon Sep 17 00:00:00 2001 From: jabdr Date: Thu, 25 May 2023 17:32:32 +0200 Subject: [PATCH 4/4] Support reload in falco-modern-bpf.service Signed-off-by: jabdr --- scripts/systemd/falco-modern-bpf.service | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/systemd/falco-modern-bpf.service b/scripts/systemd/falco-modern-bpf.service index b87280f72f8..c9b542e8502 100644 --- a/scripts/systemd/falco-modern-bpf.service +++ b/scripts/systemd/falco-modern-bpf.service @@ -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