Fix code sample in README on how to add ExecStartPre scripts to services

This commit is contained in:
Daniel Czerwonk
2024-03-14 14:10:01 +01:00
committed by Christian Kampka
parent a700a08c5b
commit 664c83a43b

View File

@@ -114,7 +114,7 @@ Depending on your security requirements and secrets management, this process is
```nix ```nix
{ {
services.crowdsec = { systemd.services.crowdsec.serviceConfig = {
ExecStartPre = let ExecStartPre = let
script = pkgs.writeScriptBin "register-bouncer" '' script = pkgs.writeScriptBin "register-bouncer" ''
#!${pkgs.runtimeShell} #!${pkgs.runtimeShell}