Files to replace on update
#7
(12-19-2015, 11:12 AM)Rekuen Wrote:
(12-19-2015, 06:04 AM)bearbin Wrote: How are you stopping the server? Are you piping in a message or sending a kill signal?

If you're sending a message then you can just send in "say message".

Right now I'm just killing the signal to stop the server, i search for the cuberite detached screen pid and send a kill signal. I supposed there is a better way to stop the server, is a wip so I'm open to suggestions.

Should be able to use
Code:
screen {your stuff} -x exec stop`printf(\\n)`

Unless your screen doesn't support that syntax/I'm outdated (shouldn't be since I checked this a few weeks ago and screen's a fairly stable program), or I'm remembering wrong.
Reply
Thanks given by:


Messages In This Thread
Files to replace on update - by Rekuen - 12-19-2015, 02:35 AM
RE: Files to replace on update - by bearbin - 12-19-2015, 02:56 AM
RE: Files to replace on update - by Rekuen - 12-19-2015, 03:02 AM
RE: Files to replace on update - by Rekuen - 12-19-2015, 05:29 AM
RE: Files to replace on update - by bearbin - 12-19-2015, 06:04 AM
RE: Files to replace on update - by Rekuen - 12-19-2015, 11:12 AM
RE: Files to replace on update - by Zee1234 - 12-19-2015, 12:06 PM
RE: Files to replace on update - by Rekuen - 12-19-2015, 11:07 PM
RE: Files to replace on update - by xoft - 12-19-2015, 09:00 PM
RE: Files to replace on update - by bearbin - 12-19-2015, 11:38 PM
RE: Files to replace on update - by Rekuen - 12-20-2015, 12:02 AM
RE: Files to replace on update - by LogicParrot - 12-21-2015, 07:22 AM



Users browsing this thread: 4 Guest(s)