From 7b91c886d9db1f81818e3b73b37fcb5d85734f59 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 12 Oct 2012 11:47:03 +0200 Subject: o Initial import of postgresql setup for app.sh. --- postgresql/bin/archive-command | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 postgresql/bin/archive-command (limited to 'postgresql/bin/archive-command') diff --git a/postgresql/bin/archive-command b/postgresql/bin/archive-command new file mode 100644 index 0000000..fa5f2c0 --- /dev/null +++ b/postgresql/bin/archive-command @@ -0,0 +1,6 @@ +#!/bin/bash + +set -e +echo `date` "Copying $1 to ../wal/$2" >> /tmp/archive-command.txt +mkdir -p ../wal +exec cp "$1" "../wal/$2" -- cgit v1.2.3