diff options
author | Varac <varac@leap.se> | 2017-01-16 12:58:28 +0000 |
---|---|---|
committer | Varac <varac@leap.se> | 2017-01-16 12:58:28 +0000 |
commit | 10faa8b69588c30ce9699b61b3a43488ef2b26e4 (patch) | |
tree | ceae4f72f24188520ec27d57e8ac27b3d7a990f0 | |
parent | 58c00ee0a92fd7f0bdd4ae930e936ac20fd47e39 (diff) | |
parent | a825701e2815a7e2c350937b83facf6c1af0c053 (diff) |
Merge branch 'pixelated/systemd-autorestart' into 'develop'
[pkg] Configure systemd to auto-restart.
See merge request !1
-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 |