Fix code sample in README on how to add ExecStartPre scripts to services
This commit is contained in:
committed by
Christian Kampka
parent
a700a08c5b
commit
664c83a43b
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user