From a825701e2815a7e2c350937b83facf6c1af0c053 Mon Sep 17 00:00:00 2001 From: Thais Siqueira Date: Thu, 12 Jan 2017 15:31:08 -0200 Subject: [pkg] Configure systemd to auto-restart. --- pkg/leap-mx.service | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg') 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 -- cgit v1.2.3