reload services after certificate updates

This commit is contained in:
Charlotte 🦝 Delenk 2022-05-24 10:15:11 +01:00
parent 086d2aa7cd
commit 63868eb38c
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
3 changed files with 6 additions and 0 deletions

View file

@ -150,4 +150,5 @@ in
993 # IMAPS
995 # POP3S
];
security.acme.certs."chir.rs".reloadServices = [ "dovecot2.service" ];
}

View file

@ -32,6 +32,10 @@
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.allowedUDPPorts = [ 443 ];
security.acme.certs."darkkirb.de".reloadServices = [ "nginx.service" ];
security.acme.certs."chir.rs".reloadServices = [ "nginx.service" ];
security.acme.certs."int.chir.rs".reloadServices = [ "nginx.service" ];
security.acme.certs."miifox.net".reloadServices = [ "nginx.service" ];
};
options.services.nginx.virtualHosts = lib.mkOption {

View file

@ -59,4 +59,5 @@
sops.secrets."services/postfix/virtual_alias_maps.cf" = { owner = "postfix"; };
sops.secrets."services/postfix/virtual_mailbox_domains.cf" = { owner = "postfix"; };
networking.firewall.allowedTCPPorts = [ 25 465 587 ];
security.acme.certs."chir.rs".reloadServices = [ "postfix.service" ];
}