summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/leap-mx.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/leap-mx.service b/pkg/leap-mx.service
new file mode 100644
index 0000000..5852ee8
--- /dev/null
+++ b/pkg/leap-mx.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Leap MX
+Before=postfix.service
+
+[Service]
+ExecStart=/usr/bin/python /usr/bin/twistd -n --rundir=/var/lib/leap_mx/ --python=/usr/share/app/mx.tac --syslog --prefix=leap-mx --pidfile=/tmp/leap-mx.pid
+User=leap-mx
+
+[Install]
+WantedBy=multi-user.target