From 1456bdc0e1e0e48c50f793d4fc85b2bb47c118e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Elsd=C3=B6rfer?= Date: Sun, 25 May 2014 22:11:10 +0200 Subject: [PATCH] appliance/postgresql: Make start wrapper pass through arguments. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Elsdörfer --- start.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/start.sh b/start.sh index 78f4966a84..3f16c7404e 100755 --- a/start.sh +++ b/start.sh @@ -3,10 +3,12 @@ case $1 in postgres) chown -R postgres:postgres /data - sudo -u postgres -H EXTERNAL_IP=$EXTERNAL_IP PORT=$PORT DISCOVERD=$DISCOVERD /bin/flynn-postgres + shift + sudo -u postgres -H EXTERNAL_IP=$EXTERNAL_IP PORT=$PORT DISCOVERD=$DISCOVERD /bin/flynn-postgres $* ;; api) - /bin/flynn-postgres-api + shift + /bin/flynn-postgres-api $* ;; *) echo "Usage: $0 {postgres|api}"