diff options
author | Florian Klink <flokli@flokli.de> | 2019-12-20 23:32:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-20 23:32:53 +0100 |
commit | 749857f7aa593f3c1b79781f808eee1106c2e584 (patch) | |
tree | 1b48d43db3d187d6930f850d4b9f73cb18ebbef9 | |
parent | 60820d8d83e50dff9291ac2d7ee08f4bfb1c042a (diff) | |
parent | 83972b80b46b846f25d2211b242b3f9c748888a9 (diff) | |
download | nixpkgs-749857f7aa593f3c1b79781f808eee1106c2e584.tar nixpkgs-749857f7aa593f3c1b79781f808eee1106c2e584.tar.gz nixpkgs-749857f7aa593f3c1b79781f808eee1106c2e584.tar.bz2 nixpkgs-749857f7aa593f3c1b79781f808eee1106c2e584.tar.lz nixpkgs-749857f7aa593f3c1b79781f808eee1106c2e584.tar.xz nixpkgs-749857f7aa593f3c1b79781f808eee1106c2e584.tar.zst nixpkgs-749857f7aa593f3c1b79781f808eee1106c2e584.zip |
Merge pull request #76052 from brprice/WIP/acme
nixos/acme: implement postRun using ExecStartPost
-rw-r--r-- | nixos/modules/security/acme.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/security/acme.nix b/nixos/modules/security/acme.nix index 8b7d12552ed..890c421b0ea 100644 --- a/nixos/modules/security/acme.nix +++ b/nixos/modules/security/acme.nix @@ -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} ''; |