killprocs: add kill_delay setting

This allows containers using OpenRC based services to be configured to
allow open tcp connections to be closed before they are shut down.

This fixes #476.
This commit is contained in:
William Hubbs
2021-12-07 13:24:47 -06:00
parent 331d6f14fd
commit 0eb11e7db6
3 changed files with 34 additions and 0 deletions

View File

@@ -4,3 +4,8 @@
# The setting is called killall5_opts because the options here are meant
# to be identical to those you could pass to killall5.
killall5_opts=""
# If you need to delay after each kill attempt during shutdown, set the amount
# of time you need to delay here. This gets passed directly to sleep in
# the shell.
# kill_delay=0