-
-
Notifications
You must be signed in to change notification settings - Fork 154
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 run server in daemon mode? #203
Comments
@sidealice Welcome to @reactphp 🎉 Unlike traditional PHP code, this project is usually used in a long running process. How you keep this process running in the background is left up to your environment, but most people use systemd, supervisord or docker to run and monitor this process, see also https://medium.com/@benmorel/creating-a-linux-service-with-systemd-611b5c8b91d6 as a starting point. I believe this has been answered, so I'm closing this for now. Please come back with more details if this problem persists and we can reopen this 👍 |
I've set the server to run continuously using supervisor but I've to restart the supervisor manually every day at midnight to work properly for the day. How can we avoid this? |
@kailasb10 Is this the same issue as you opened #259 for? |
yes. I've found the issue. you can see the solution at https://github.com/reactphp/socket/issues/259 |
how to run tcp/http server in daemon(backend) with socket module?
thanks
The text was updated successfully, but these errors were encountered: