summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-11-19 16:52:02 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-11-19 16:52:02 +0100
commit557cb0c5769f795960dceb62943195cfbbd46817 (patch)
treea16795ed6530a15f6ef063dd5e24ca452e5b84e4
parent6840a4bfffc20c76918c3f08441ea4dba04a7dc2 (diff)
downloadnixos-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.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/ymir.nix b/ymir.nix
index d64c21e3..807e9cc3 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -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 };