Set the systemd initial timeout to 75 seconds (#60345)

For systemd, while we are starting up, we notify the system every 15
seconds that we are still in the middle of starting up. However, if
initial startup before plugin initialization is slower than 15 seconds,
we won't ever get the chance to run the first timeout extension. This
commit sets the initial timeout to 75 seconds, up from the default 30
seconds used by systemd.

closes #60140
This commit is contained in:
Ryan Ernst 2020-07-28 16:57:13 -07:00 committed by Ryan Ernst
parent 54c8936508
commit 07aede135d
No known key found for this signature in database
GPG Key ID: 5F7EA39E15F54DCE
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ SendSIGKILL=no
# When a JVM receives a SIGTERM signal it exits with code 143
SuccessExitStatus=143
# Allow a slow startup before the systemd notifier module kicks in to extend the timeout
TimeoutStartSec=75
[Install]
WantedBy=multi-user.target