summaryrefslogtreecommitdiff
path: root/lindy/old/systemd/alps-inria.service
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-01-17 12:33:50 +0100
committerAlex Auvolat <alex@adnab.me>2023-01-17 12:33:50 +0100
commiteaf6d5b07bcdd9a3eb9bfdac93566b7432e46c37 (patch)
tree2c80bd3a4a1eda0771ec9b9caf882df95aea78a1 /lindy/old/systemd/alps-inria.service
parent0fe1e2445f805a9558cb19540966e72a02fc5326 (diff)
downloaduser-config-eaf6d5b07bcdd9a3eb9bfdac93566b7432e46c37.tar.gz
user-config-eaf6d5b07bcdd9a3eb9bfdac93566b7432e46c37.zip
Lindy on NixOS
Diffstat (limited to 'lindy/old/systemd/alps-inria.service')
-rw-r--r--lindy/old/systemd/alps-inria.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/lindy/old/systemd/alps-inria.service b/lindy/old/systemd/alps-inria.service
new file mode 100644
index 0000000..c338b4f
--- /dev/null
+++ b/lindy/old/systemd/alps-inria.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Alps mail server for zimbra.inria.fr
+After=network.target
+
+[Service]
+WorkingDirectory=/home/lx/Deuxfleurs/alps
+ExecStart=/usr/bin/go run ./cmd/alps -theme alps imaps://zimbra.inria.fr:993 smtp://smtp.inria.fr:587
+
+# Restart every >2 seconds to avoid StartLimitInterval failure
+RestartSec=5
+Restart=always
+
+[Install]
+WantedBy=default.target
+