combined postgresql start and tail command

This commit is contained in:
Sameer Naik
2014-06-28 23:28:08 +05:30
parent 75c1dbc9e5
commit 57d2600eda
+1 -2
View File
@@ -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