mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
Merge pull request #76052 from brprice/WIP/acme
nixos/acme: implement postRun using ExecStartPost
This commit is contained in:
commit
749857f7aa
@ -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 New Issue
Block a user