From 57d2600eda44e854e67b5402c13b83568768da21 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Sat, 28 Jun 2014 23:28:08 +0530 Subject: [PATCH] combined postgresql start and tail command --- init | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/init b/init index ef193c9..1e82189 100755 --- a/init +++ b/init @@ -40,5 +40,4 @@ if [ -f /var/lib/postgresql/pwfile ]; then fi echo "Starting PostgreSQL server..." -/etc/init.d/postgresql start -tail -F /var/log/postgresql/postgresql-9.1-main.log +/etc/init.d/postgresql start && tail -F /var/log/postgresql/postgresql-9.1-main.log