How to Start
Opened this issue · 4 comments
GoogleCodeExporter commented
Hi there :)
How can i start chat.php permanently ?
If i start it via bash ( ./chat.php ),
it will quit after STRG+C or closing the bashwindow :(
I hope, anyone had an idea.
BR Wojtek
Original issue reported on code.google.com by gardinen...@googlemail.com
on 28 May 2009 at 1:37
GoogleCodeExporter commented
you have to run it with & so it goes as a background process .
./chat.php &
Original comment by tonyh...@gmail.com
on 5 Jun 2009 at 4:52
GoogleCodeExporter commented
Hi tony,
thx, but the process will die, when i close the Terminal (ssh) :(
Original comment by gardinen...@googlemail.com
on 5 Jun 2009 at 6:28
GoogleCodeExporter commented
Run it with screen.
Check the man page for usage but its basically just screen ./chat.php and then
press
ctrl-d then a to send it to the background and it wont exit after exiting ssh.
The alternative is to make it rely on pnctl in PHP to do it automatically, but
that
probably means recompiling PHP to enable it.
Original comment by nicholas...@gmail.com
on 9 Jun 2009 at 11:05
GoogleCodeExporter commented
Run it in cron with starting machine.
Original comment by malkin.s...@gmail.com
on 11 Jan 2010 at 3:27