Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Start #22

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 4 comments
Open

How to Start #22

GoogleCodeExporter opened this issue Mar 13, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 28 May 2009 at 1:37

@GoogleCodeExporter
Copy link
Author

you have to run it with & so it goes as a background process .

./chat.php &


Original comment by [email protected] on 5 Jun 2009 at 4:52

@GoogleCodeExporter
Copy link
Author

Hi tony,

thx, but the process will die, when i close the Terminal (ssh) :(

Original comment by [email protected] on 5 Jun 2009 at 6:28

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 9 Jun 2009 at 11:05

@GoogleCodeExporter
Copy link
Author

Run it in cron with starting machine.

Original comment by [email protected] on 11 Jan 2010 at 3:27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant