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

Systemd's Watchdog #275

Merged
merged 3 commits into from
Nov 11, 2019
Merged

Systemd's Watchdog #275

merged 3 commits into from
Nov 11, 2019

Conversation

rubiojr
Copy link
Collaborator

@rubiojr rubiojr commented Nov 8, 2019

Linux only.

Enable Systemd's watchdog integration when running under Systemd and
and the service unit has enabled the watchdog feature.

Related: #273

Linux only.

Enable Systemd's watchdog integration when running under Systemd and
and the service unit has enabled the watchdog feature.
@rubiojr rubiojr mentioned this pull request Nov 8, 2019
watchdog_linux.go Outdated Show resolved Hide resolved
@muesli
Copy link
Owner

muesli commented Nov 9, 2019

Nice! We also got a sample service file in https://github.com/muesli/beehive/tree/master/admin which we should update accordingly.

@rubiojr
Copy link
Collaborator Author

rubiojr commented Nov 10, 2019

@muesli pushed some fixes updating docs and simplifying the math. Let me know if that reads a bit better.

@rubiojr
Copy link
Collaborator Author

rubiojr commented Nov 10, 2019

Looks something like:

Nov 10 16:32:52 dunraid beehive[38759]: DEBU[0010] Systemd watchdog notify
Nov 10 16:33:02 dunraid beehive[38759]: INFO[0020] Handling request                              Method=GET URL=/
Nov 10 16:33:02 dunraid beehive[38759]: INFO[0020] serving config/index.html ... (from )
Nov 10 16:33:02 dunraid beehive[38759]: INFO[0020] Finished request                              Duration="274.426µs" Method=GET Response=200 URL=/
Nov 10 16:33:02 dunraid beehive[38759]: DEBU[0020] Systemd watchdog notify

when the debug log is enabled.

@muesli muesli merged commit 556d5b6 into master Nov 11, 2019
@muesli
Copy link
Owner

muesli commented Nov 11, 2019

Awesome, thank you for another great contribution! ❤️

@rubiojr rubiojr deleted the watchdog-core branch December 18, 2019 16:34
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

2 participants