From 7d355dd2d9126267a1fb4adcbf55f1c51f482c34 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Mon, 23 Jan 2023 10:41:42 +0100 Subject: [PATCH] chore(scripts): small fixes to systemd units. Signed-off-by: Federico Di Pierro Co-authored-by: Roberto Scolaro --- scripts/systemd/falco-bpf.service | 5 ++++- scripts/systemd/falco-kmod.service | 5 ++++- scripts/systemd/falco-modern-bpf.service | 5 ++++- scripts/systemd/falco-plugin.service | 3 +++ scripts/systemd/falcoctl-artifact-follow.service | 1 + 5 files changed, 16 insertions(+), 3 deletions(-) diff --git a/scripts/systemd/falco-bpf.service b/scripts/systemd/falco-bpf.service index 58127cd6..cce39071 100644 --- a/scripts/systemd/falco-bpf.service +++ b/scripts/systemd/falco-bpf.service @@ -22,4 +22,7 @@ ProtectSystem=full ProtectKernelTunables=true RestrictRealtime=true RestrictAddressFamilies=~AF_PACKET -StandardOutput=null \ No newline at end of file +StandardOutput=null + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/scripts/systemd/falco-kmod.service b/scripts/systemd/falco-kmod.service index 500bb93e..6f084b30 100644 --- a/scripts/systemd/falco-kmod.service +++ b/scripts/systemd/falco-kmod.service @@ -24,4 +24,7 @@ ProtectKernelTunables=true ReadWritePaths=/sys/module/falco RestrictRealtime=true RestrictAddressFamilies=~AF_PACKET -StandardOutput=null \ No newline at end of file +StandardOutput=null + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/scripts/systemd/falco-modern-bpf.service b/scripts/systemd/falco-modern-bpf.service index ef4bdc2e..e370a504 100644 --- a/scripts/systemd/falco-modern-bpf.service +++ b/scripts/systemd/falco-modern-bpf.service @@ -21,4 +21,7 @@ ProtectSystem=full ProtectKernelTunables=true RestrictRealtime=true RestrictAddressFamilies=~AF_PACKET -StandardOutput=null \ No newline at end of file +StandardOutput=null + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/scripts/systemd/falco-plugin.service b/scripts/systemd/falco-plugin.service index dac0c1d0..60b6dcbf 100644 --- a/scripts/systemd/falco-plugin.service +++ b/scripts/systemd/falco-plugin.service @@ -22,3 +22,6 @@ ProtectKernelTunables=true RestrictRealtime=true RestrictAddressFamilies=~AF_PACKET StandardOutput=null + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/scripts/systemd/falcoctl-artifact-follow.service b/scripts/systemd/falcoctl-artifact-follow.service index 80e1ec87..6fcabf5c 100644 --- a/scripts/systemd/falcoctl-artifact-follow.service +++ b/scripts/systemd/falcoctl-artifact-follow.service @@ -3,6 +3,7 @@ Description=Falcoctl Artifact Follow: automatic artifacts update service Documentation=https://falco.org/docs/ After=falco.target BindsTo=falco.target +DefaultDependencies=no [Service] Type=simple