summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/taler-deployment-landing12
-rwxr-xr-xbin/taler-deployment-stop11
-rw-r--r--taler-arm/taler-blog.conf4
-rw-r--r--taler-arm/taler-landing.conf3
4 files changed, 26 insertions, 4 deletions
diff --git a/bin/taler-deployment-landing b/bin/taler-deployment-landing
new file mode 100755
index 0000000..599aa37
--- /dev/null
+++ 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
new file mode 100755
index 0000000..cfaa3b3
--- /dev/null
+++ 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
deleted file mode 100644
index 3a42093..0000000
--- a/taler-arm/taler-blog.conf
+++ /dev/null
@@ -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
new file mode 100644
index 0000000..3a3f474
--- /dev/null
+++ b/taler-arm/taler-landing.conf
@@ -0,0 +1,3 @@
+[taler-landing]
+TYPE = simple
+BINARY = taler-deployment-landing