diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-11-19 16:52:02 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-11-19 16:52:02 +0100 |
commit | 557cb0c5769f795960dceb62943195cfbbd46817 (patch) | |
tree | a16795ed6530a15f6ef063dd5e24ca452e5b84e4 | |
parent | 6840a4bfffc20c76918c3f08441ea4dba04a7dc2 (diff) | |
download | nixos-557cb0c5769f795960dceb62943195cfbbd46817.tar nixos-557cb0c5769f795960dceb62943195cfbbd46817.tar.gz nixos-557cb0c5769f795960dceb62943195cfbbd46817.tar.bz2 nixos-557cb0c5769f795960dceb62943195cfbbd46817.tar.xz nixos-557cb0c5769f795960dceb62943195cfbbd46817.zip |
run postDelay at correct time
-rw-r--r-- | ymir.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -796,11 +796,11 @@ in rec { | |||
796 | webroot = "/srv/www/acme/yggdrasil.li"; | 796 | webroot = "/srv/www/acme/yggdrasil.li"; |
797 | email = "phikeebaogobaegh@141.li"; | 797 | email = "phikeebaogobaegh@141.li"; |
798 | extraDomains = builtins.listToAttrs (builtins.map (name: { inherit name; value = "/srv/www/acme/${name}"; }) myDomains); | 798 | extraDomains = builtins.listToAttrs (builtins.map (name: { inherit name; value = "/srv/www/acme/${name}"; }) myDomains); |
799 | postRun = '' | 799 | activationDelay = "6h"; |
800 | postDelay = '' | ||
800 | systemctl reload nginx.service | 801 | systemctl reload nginx.service |
801 | ${pkgs.prosody}/bin/prosodyctl reload | 802 | ${pkgs.prosody}/bin/prosodyctl reload |
802 | ''; | 803 | ''; |
803 | activationDelay = "6h"; | ||
804 | }; | 804 | }; |
805 | }; | 805 | }; |
806 | }; | 806 | }; |