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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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'}

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