diff options
Diffstat (limited to 'ymir.nix')
-rw-r--r-- | ymir.nix | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -307,6 +307,8 @@ in rec { | |||
307 | chmod 0640 /etc/shadow | 307 | chmod 0640 /etc/shadow |
308 | ''; | 308 | ''; |
309 | 309 | ||
310 | systemd.services."prosody".serviceConfig.ExecReload = "${pkgs.prosody}/bin/prosodyctl reload"; | ||
311 | |||
310 | services.yggdrasilTinc = { | 312 | services.yggdrasilTinc = { |
311 | enable = true; | 313 | enable = true; |
312 | connect = false; | 314 | connect = false; |
@@ -843,8 +845,8 @@ in rec { | |||
843 | extraDomains = builtins.listToAttrs (builtins.map (name: { inherit name; value = "/srv/www/acme/${name}"; }) myDomains); | 845 | extraDomains = builtins.listToAttrs (builtins.map (name: { inherit name; value = "/srv/www/acme/${name}"; }) myDomains); |
844 | activationDelay = "6h"; | 846 | activationDelay = "6h"; |
845 | postRun = '' | 847 | postRun = '' |
846 | systemctl reload nginx.service | 848 | systemctl reload nginx.service dovecot2.service postfix.service prosody.service |
847 | ${pkgs.prosody}/bin/prosodyctl reload | 849 | systemctl restart vsftpd.service |
848 | ''; | 850 | ''; |
849 | }; | 851 | }; |
850 | }; | 852 | }; |