alps: hopefully fix the startup issue
alps frequently fails to start (e.g. during a system activation script) since either its configured imap or smtp servers are not reachable yet (i.e. their process has not yet opened the corresponding port). This should hopefully fix that behaviour: - also set BindsTo, telling systemd to only start alps once the required units have entered "active" state (not just after it has started them) - also require postfix to be present, since that provides smtpmattermost-kanidm
parent
55b0b3558d
commit
319e5894e0
|
@ -195,7 +195,8 @@
|
|||
bindIP = "[::1]";
|
||||
};
|
||||
|
||||
systemd.services.alps.after = [ "dovecot2.service" ];
|
||||
systemd.services.alps.after = [ "dovecot2.service" "postfix.service" ];
|
||||
systemd.services.alps.bindsTo = [ "dovecot2.service" "postfix.service" ];
|
||||
|
||||
services.nginx.virtualHosts."mail.hacc.space" = {
|
||||
enableACME = true;
|
||||
|
|
Loading…
Reference in New Issue