summaryrefslogtreecommitdiff
path: root/old/lindy/systemd/alps-inria.service
diff options
context:
space:
mode:
Diffstat (limited to 'old/lindy/systemd/alps-inria.service')
-rw-r--r--old/lindy/systemd/alps-inria.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/old/lindy/systemd/alps-inria.service b/old/lindy/systemd/alps-inria.service
new file mode 100644
index 0000000..c338b4f
--- /dev/null
+++ b/old/lindy/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
+