forking problem and logging off - solved

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have fixed my prier problem of my script crashing down whenever i logged out of the shell, I got a bright idea, (one of the few it seems i'm having lately :p ) I found out that there is a "nohup" command ..i guess i knew there was but i had forgotten that until today. I put this in a script now to run my chat now with nohup, something like this
/* my script to start server */
#!/usr/bin/bash
nohup ./server.php &

of course i have to be in the right directory to do this but it works and finally, i can log off of my account without the server going down yay!
matt

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux