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

Add tasklet and support for taking possession of an existing simulator #3

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

kf6kjg
Copy link

@kf6kjg kf6kjg commented Apr 25, 2018

PLEASE NOTE THAT THE CODE IS COMPLETELY UNTESTED. At the moment I can't even be 100% sure Python is OK with parsing what I wrote as I currently can't test it.


Takes possession of any existing region simulator bin folder and all regions controlled by said simulator. This is doe by the simple expedient of copying the whole bin folder, sending CTRL-C to the old process if it's online and then waiting until the process goes away, then starting up the new copy.

Doesn't require the simulator to be offline first, but it's generally a good idea in case anything that should be in the region .xml files has changed.
It DOES require that the region not auto resstart when shut down!

Takes possession of any existing region simulator bin folder and all regions controlled by said simulator. This is doe by the simple expedient of copying the whole bin folder, sending CTRL-C to the old process if it's online and then waitign until the porcess goes away, then starting up the new copy.

Doesn't require the simulator to be offline first, but it's generally a good idea in case anything that should be in the region .xml files has changed.
It DOES require that the region not auto resstart when shut down!
This isn't just about ZK any more. This should be able to handle most everything.
Because they might not be running anyway.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant