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

write last XML file on shutdown using the current timestamp #29

Closed
wants to merge 2 commits into from

Conversation

klaus3000
Copy link

patch originally from michael.braunoeder@nic.at

patch originally from michael.braunoeder@nic.at
@jelu jelu self-assigned this Apr 20, 2016
@jelu
Copy link
Member

jelu commented Apr 21, 2016

@klaus3000 Thanks for the PRs, seeing that most of them seem to be from others are you up for correcting them if I find something or do you want me to offload the diffs?

@klaus3000
Copy link
Author

Some patches were written by my colleague. We have them in production since 5 years and I only modified them to apply to current HEAD. If you find any issues with the patches I will take care of it. I just wanted to give the credits to the original author.

@@ -98,6 +101,10 @@ daemonize(void)
}
if (pid > 0)
exit(0);
if (pid == 0) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pid will always be 0 because of lines above.

... and install the signal handler after the Arena was initialized
to avoid crashes when sending SIGTERM while process is waiting for
a new minute to start.
@jelu
Copy link
Member

jelu commented Apr 25, 2016

I have moved this to #33, will look over all signal handling and why it would be needed within the loop/after arena init.

@jelu jelu closed this Apr 25, 2016
@klaus3000 klaus3000 deleted the dump_last_xml branch May 10, 2016 10:30
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.

None yet

3 participants