From 9ab4289e425071b0b172adeb9cfce93249f32ff7 Mon Sep 17 00:00:00 2001 From: Ivan Davydov Date: Wed, 18 Dec 2024 22:58:35 +0300 Subject: Update alps.md Add optional `After` parameters which let Alps start only after Postfix&Dovecot, thus not crashing on boot --- content/alps.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/alps.md b/content/alps.md index fe125d8..5292f43 100644 --- a/content/alps.md +++ b/content/alps.md @@ -56,6 +56,11 @@ Environment="GOCACHE=/opt/alps/.gocache" WantedBy=multi-user.target ``` +If you run Postfix and Dovecot on the same machine, you could change the `After` string to the following: +``` +After=network.target postfix.service dovecot.service +``` + Put that in `/etc/systemd/system/alps.service` and fill in your login key and your mail domain. Now, reload and start Alps. -- cgit v1.2.3