holmes 0.1.0

Holmes Inference System
Documentation
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash
export PGDATA=`mktemp -d`
pg_ctl initdb -s -o -Atrust
echo "unix_socket_directories = '$PGDATA'" >> $PGDATA/postgresql.conf
echo "listen_addresses = ''" >> $PGDATA/postgresql.conf
#echo "logging_collector = true" >> $PGDATA/postgresql.conf
#echo "log_directory = '$PGDATA'" >> $PGDATA/postgresql.conf
#echo "log_statement = 'all'" >> $PGDATA/postgresql.conf
pg_ctl -w start -s -l/dev/null
createuser -h $PGDATA -s $1
echo $PGDATA