diff options
author | Christoph <ckluente@thoughtworks.com> | 2016-01-07 17:17:52 +0100 |
---|---|---|
committer | Christoph <ckluente@thoughtworks.com> | 2016-01-07 17:17:52 +0100 |
commit | 286b588e404307f6821bea7f24e2ab834e337913 (patch) | |
tree | 3718693421f9a28d981509e4ef9bad3b5d47816f | |
parent | 75e7e4c1d65c89f1e9a174e98a7168e6f13abe34 (diff) |
add service file for starting via systemd
-rw-r--r-- | pkg/leap-mx.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/leap-mx.service b/pkg/leap-mx.service new file mode 100644 index 0000000..5852ee8 --- /dev/null +++ b/pkg/leap-mx.service @@ -0,0 +1,10 @@ +[Unit] +Description=Leap MX +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 + +[Install] +WantedBy=multi-user.target |