From 664c83a43b44e7a6beaa6c0a9548373b1468c7dd Mon Sep 17 00:00:00 2001 From: Daniel Czerwonk Date: Thu, 14 Mar 2024 14:10:01 +0100 Subject: [PATCH] Fix code sample in README on how to add ExecStartPre scripts to services --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 137fbb2..665aa57 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ Depending on your security requirements and secrets management, this process is ```nix { - services.crowdsec = { + systemd.services.crowdsec.serviceConfig = { ExecStartPre = let script = pkgs.writeScriptBin "register-bouncer" '' #!${pkgs.runtimeShell}