summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Davydov <lotigara@lotigara.ru>2024-12-18 22:58:35 +0300
committerGitHub <noreply@github.com>2024-12-18 22:58:35 +0300
commit9ab4289e425071b0b172adeb9cfce93249f32ff7 (patch)
tree24f404da187600c534cfacd31264be34c59ebc1c
parent24057ca0a2dd075d41432189dccda2279ca3e514 (diff)
Update alps.md
Add optional `After` parameters which let Alps start only after Postfix&Dovecot, thus not crashing on boot
-rw-r--r--content/alps.md5
1 files changed, 5 insertions, 0 deletions
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.