From: | Sterling <smullett(at)omeninc(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Chris <csmith(at)squiz(dot)net>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: Creating Log file - run in background. |
Date: | 2000-12-14 08:17:39 |
Message-ID: | 3A388223.BAF6CA12@omeninc.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
H-
Ok. So the new command should look like this.
nohup /usr/local/pgsql/bin/postmaster -D > >/usr/local/pgsql/data </dev/null
>>/usr/local/pgsql/data/server.log 2>>1 &
What are the > > 's for? Are they acting as ( ) 's like in perl or some other
language?
If so should they match? I'm getting lost in the > > and can't figure out if the >
> is actually in the command or part of the wrapping for my window terminal (it
stays when I resize the window so...) or from my email client when it copies the
original post.
Thanks for all your help and replies. I just need to get up to speed on what
you're telling me. 8^)
-Sterling
Tom Lane wrote:
> >> Should the command look like this than:
> >> nohup /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data/server.log &
>
> > That should work, yep.
>
> Uh, nope.
>
> That will try to use /usr/local/pgsql/data/server.log as a directory.
>
> Your original advice was better.
>
> regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Guy Corbaz | 2000-12-14 08:34:37 | Postgresql backups |
Previous Message | pgsql-novice | 2000-12-14 04:52:36 |