diff options
author | Thais Siqueira <thais.siqueira@gmail.com> | 2017-01-12 15:31:08 -0200 |
---|---|---|
committer | Thais Siqueira <thais.siqueira@gmail.com> | 2017-01-12 15:33:08 -0200 |
commit | a825701e2815a7e2c350937b83facf6c1af0c053 (patch) | |
tree | ceae4f72f24188520ec27d57e8ac27b3d7a990f0 /pkg | |
parent | 58c00ee0a92fd7f0bdd4ae930e936ac20fd47e39 (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 |