Permalink
Browse files

fixed user

  • Loading branch information...
robe@localhost
robe@localhost committed Apr 19, 2009
1 parent b0e8106 commit d865a62d8c606e92a77c5828e93afb67489b746b
Showing with 1 addition and 1 deletion.
  1. +1 −1 envorcer.pl
View
@@ -183,7 +183,7 @@ sub create_logship {
run_command('mkdir -p /srv/logship', 'slave', 0);
run_command('chown -R postgres:postgres /srv/logship', 'slave');
run_command('cat /root/pgworkshop/configs/logship/postgresql.conf >> /etc/postgresql/8.3/logship/postgresql.conf', 'master');
- run_command('scp /root/pgworkshop/configs/logship/recovery.conf postgresql@slave1:/var/lib/postgresql/8.3/logship/', 'master');
+ run_command('scp /root/pgworkshop/configs/logship/recovery.conf postgres@slave1:/var/lib/postgresql/8.3/logship/', 'master');
run_command('pg_ctlcluster 8.3 logship stop', 'both');
run_command('rsync -avH --delete-excluded --exclude pg_xlog/* /var/lib/postgresql/8.3/logship/ root@slave1:/var/lib/postgresql/8.3/logship', 'master');

0 comments on commit d865a62

Please sign in to comment.