Merge pull request #76052 from brprice/WIP/acme
nixos/acme: implement postRun using ExecStartPost
This commit is contained in:
commit
749857f7aa
1 changed files with 2 additions and 2 deletions
|
@ -241,9 +241,9 @@ in
|
|||
StateDirectoryMode = rights;
|
||||
WorkingDirectory = "/var/lib/${lpath}";
|
||||
ExecStart = "${pkgs.simp_le}/bin/simp_le ${escapeShellArgs cmdline}";
|
||||
ExecStopPost =
|
||||
ExecStartPost =
|
||||
let
|
||||
script = pkgs.writeScript "acme-post-stop" ''
|
||||
script = pkgs.writeScript "acme-post-start" ''
|
||||
#!${pkgs.runtimeShell} -e
|
||||
${data.postRun}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue