Re: [CentOS] Certain scripts "hang" the terminal on logout

2008-10-24 Thread Sean Carolan
> You might try to change the script in init.d to append ">/dev/null 2>&1" at the line that starts the daemon, this might force > it to detach itself from the terminal. This appears to have corrected the issue, thank you very much for the reply. ___ Cent

Re: [CentOS] Certain scripts "hang" the terminal on logout

2008-10-24 Thread Sean Carolan
>> # /etc/init.d/script restart << this runs fine, returns my shell prompt >> # exit << When I enter this command, my shell window just stays >> "stuck" and actually won't close down. >> >> Anyone know why this happens? > > Are you spawning/backgrounding jobs in the script? Here is the script,

Re: [CentOS] Certain scripts "hang" the terminal on logout

2008-10-24 Thread Filipe Brandenburger
Hi, On Fri, Oct 24, 2008 at 11:48, Sean Carolan <[EMAIL PROTECTED]> wrote: > # /etc/init.d/script restart << this runs fine, returns my shell prompt > # exit << When I enter this command, my shell window just stays > "stuck" and actually won't close down. > > Anyone know why this happens? Yes,

Re: [CentOS] Certain scripts "hang" the terminal on logout

2008-10-24 Thread Matt Hyclak
On Fri, Oct 24, 2008 at 10:48:53AM -0500, Sean Carolan enlightened us: > I have an init script that after running, causes my terminal not to > log out cleanly. Here's what i mean: > > # /etc/init.d/script restart << this runs fine, returns my shell prompt > # exit << When I enter this command,

[CentOS] Certain scripts "hang" the terminal on logout

2008-10-24 Thread Sean Carolan
I have an init script that after running, causes my terminal not to log out cleanly. Here's what i mean: # /etc/init.d/script restart << this runs fine, returns my shell prompt # exit << When I enter this command, my shell window just stays "stuck" and actually won't close down. Anyone know w