Cuberite Forum
[SOLVED] MCServer, Shutdown after startup.. - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Discussion (https://forum.cuberite.org/forum-5.html)
+--- Thread: [SOLVED] MCServer, Shutdown after startup.. (/thread-1509.html)



[SOLVED] MCServer, Shutdown after startup.. - ThuGie - 07-02-2014

So..
No error or anything.
It boots up then shutsdown..

https://gist.github.com/anonymous/25f20540b63cc3fb09a7

No crash as well it seems so .. yeah.
running it on my raspberry pi, compiled today so.

Second boot it works correctly. but i still assume something went wrong.

Edit:
Could somebody delete this thread..
I was trying to copy a string. sending a ctrl+c.. shutting it down myself.


RE: MCServer, Shutdown after startup.. - xoft - 07-02-2014

How did you run the server the first time, did you use any wrappers such as "screen", or piped anything to the process ("echo hello | ./MCServer")? The server terminates gracefully if its stdin pipe has closed, so it could be the reason.


RE: MCServer, Shutdown after startup.. - ThuGie - 07-02-2014

(07-02-2014, 06:43 AM)xoft Wrote: How did you run the server the first time, did you use any wrappers such as "screen", or piped anything to the process ("echo hello | ./MCServer")? The server terminates gracefully if its stdout pipe has closed, so it could be the reason.

You can close this it was my fault..
used screen btw :p.