commit 83484d336f4b98833401edc0f119939a60b7bcad
parent 73876d8741ef2309eed74065c8b87811eb52f89e
Author: Florian Dold <florian.dold@gmail.com>
Date: Wed, 27 Apr 2016 00:35:07 +0200
landing via uwsgi
Diffstat:
4 files changed, 26 insertions(+), 4 deletions(-)
diff --git a/bin/taler-deployment-landing b/bin/taler-deployment-landing
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# serve landing page via uwsgi
+
+base=$HOME
+
+export PATH="$base/deployment":$PATH
+
+ulimit -c $((100 * 1024))
+
+mkdir -p $HOME/sockets
+exec uwsgi --check-static $HOME/landing --socket $HOME/sockets/landing.uwsgi
diff --git a/bin/taler-deployment-stop b/bin/taler-deployment-stop
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+base=$HOME
+
+export PATH="$base/deployment":$PATH
+
+ulimit -c $((100 * 1024))
+
+cd $HOME
+
+taler-deployment-arm -e -T 1s &>/dev/null
diff --git a/taler-arm/taler-blog.conf b/taler-arm/taler-blog.conf
@@ -1,4 +0,0 @@
-[taler-blog]
-TYPE = simple
-BINARY = taler-merchant-blog
-OPTIONS = serve-uwsgi
diff --git a/taler-arm/taler-landing.conf b/taler-arm/taler-landing.conf
@@ -0,0 +1,3 @@
+[taler-landing]
+TYPE = simple
+BINARY = taler-deployment-landing