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

Changes to properly daemonize the server #16

Open
subtle-supernova opened this issue Mar 1, 2017 · 0 comments
Open

Changes to properly daemonize the server #16

subtle-supernova opened this issue Mar 1, 2017 · 0 comments
Assignees

Comments

@subtle-supernova
Copy link
Owner

It's currently not possible to make the server a daemon using tools like sysvinit or the newer systemd. Initial experiments to force the current codebase to do so resulted in failure due to the system's reliance on input from stdin to do things like proper shutdown.

I think the proper solution to this is to change https://github.com/subtle-supernova/Core3/blob/unstable/MMOCoreORB/src/server/ServerCore.cpp from a loop that listens to stdin to a loop that listens on a socket. This not only allows us to use a proper init script but will allow us to create more diversified tools for communicating with the server.

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