diff options
author | Thais Siqueira <thais.siqueira@gmail.com> | 2017-01-12 15:31:08 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2017-01-27 08:34:40 -0200 |
commit | 7a870fdc4471702146fc4ff8a6acae1d560b2984 (patch) | |
tree | b3e1ab69318333ec98f2397c0d245ba3af9a9242 /pkg | |
parent | 0e8d052856be24aaffc5dee738de8f07e2322d02 (diff) |
[pkg] Configure systemd to auto-restart.
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/leap-mx.service | 1 |
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 |