TheProjecter / webchat2

Automatically exported from code.google.com/p/webchat2
GNU General Public License v2.0
0 stars 0 forks source link

How to Start #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 8 years ago
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 8 years ago
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 8 years ago
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 8 years ago
Run it in cron with starting machine.

Original comment by malkin.s...@gmail.com on 11 Jan 2010 at 3:27