summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorThais Siqueira <thais.siqueira@gmail.com>2017-01-12 15:31:08 -0200
committerdrebs <drebs@leap.se>2017-01-27 08:34:40 -0200
commit7a870fdc4471702146fc4ff8a6acae1d560b2984 (patch)
treeb3e1ab69318333ec98f2397c0d245ba3af9a9242 /pkg
parent0e8d052856be24aaffc5dee738de8f07e2322d02 (diff)
[pkg] Configure systemd to auto-restart.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/leap-mx.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/leap-mx.service b/pkg/leap-mx.service
index 5852ee8..d5a18a7 100644
--- a/pkg/leap-mx.service
+++ b/pkg/leap-mx.service
@@ -5,6 +5,7 @@ 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
+Restart=always
[Install]
WantedBy=multi-user.target