Re: Creating Log file - run in background.
От | Sterling |
---|---|
Тема | Re: Creating Log file - run in background. |
Дата | |
Msg-id | 3A388223.BAF6CA12@omeninc.com обсуждение исходный текст |
Ответ на | Re: Creating Log file - run in background. (Chris <csmith@squiz.net>) |
Список | 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
В списке pgsql-novice по дате отправления: