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

fix systemctl falling back to defaultTimeoutStopSec shutdown and use sigterm #307

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

tomkimsour
Copy link
Contributor

While shutting down the service, systemd would timeout and send SIGTERM after 90sec (default parameter value of systemd)

Following is the quote from the man page of systemd.kill

If set to control-group, all remaining processes in the control group of this unit will be killed on unit stop (for services: after the stop command is executed, as configured with ExecStop=). If set to mixed, the SIGTERM signal (see below) is sent to the main process while the subsequent SIGKILL signal (see below) is sent to all remaining processes of the unit's control group.

https://www.freedesktop.org/software/systemd/man/latest/systemd.kill.html#

Setting KillMode doesn't raise any error in the shutting down process.

Copy link

PR missing one of the required labels: {'dependencies', 'enhancement', 'documentation', 'internal', 'new feature', 'breaking-change', 'bug'}

@Mallets Mallets added the enhancement New feature or request label Jan 23, 2025
@Mallets Mallets merged commit c122d72 into eclipse-zenoh:main Jan 23, 2025
6 of 7 checks passed
@tomkimsour tomkimsour deleted the patch-2 branch January 23, 2025 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants