aboutsummaryrefslogtreecommitdiff
path: root/conf.d/killprocs
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2021-12-07 13:24:47 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2021-12-07 13:40:15 -0600
commit0eb11e7db68598f20456500191a527407755ddea (patch)
treebd8c2d88e40965a854e8d0ea703f468bd297f432 /conf.d/killprocs
parent331d6f14fdf69d6fe17da77db7609bc861145fd6 (diff)
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.
Diffstat (limited to 'conf.d/killprocs')
-rw-r--r--conf.d/killprocs5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf.d/killprocs b/conf.d/killprocs
index 76a2bc9c..a515b782 100644
--- a/conf.d/killprocs
+++ b/conf.d/killprocs
@@ -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