Commit 5bc76b47 authored by Damian Montero's avatar Damian Montero Committed by GitHub

fixing the initial db requirements

parent 95b845ff
......@@ -21,8 +21,7 @@ class Postgres < Package
puts "To get started, you need to initialize a database directory"
puts "'echo \"export PATH=/usr/local/pgsql/bin:$PATH\" >> ~/.bashrc'"
puts "'source ~/.bashrc'"
puts "'sudo chown chronos:chronos /usr/local/pgsql/data'"
puts "'sudo chmod 700 /usr/local/pgsql/data'"
puts "'chmod 700 /usr/local/pgsql/data'"
puts "'initdb -D /usr/local/pgsql/data'"
puts "To start postgres: 'pg_ctl -D /usr/local/pgsql/data -l logfile start'"
puts "To stop postgres: 'pg_ctl -D /usr/local/pgsql/data stop'"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment