summarylogtreecommitdiffstats
path: root/alps-system.service
diff options
context:
space:
mode:
Diffstat (limited to 'alps-system.service')
-rw-r--r--alps-system.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/alps-system.service b/alps-system.service
new file mode 100644
index 000000000000..3febcaaccc0a
--- /dev/null
+++ b/alps-system.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=A simple and extensible webmail
+Documentation=https://git.sr.ht/~migadu/alps/tree/master/item/docs
+After=network.target
+Wants=network-online.target
+
+[Service]
+DynamicUser=yes
+User=alps
+Group=alps
+EnvironmentFile=/etc/alps.conf
+ExecStart=/usr/bin/alps $ALPS_OPTIONS $ALPS_SERVERS
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target