openwrt-packages/utils/lxc/files
John Audia 7984d2d74a lxc-auto: step by 1 sec up to $max_timeout
If the user defines a $max_timeout of 30, the service will wait 30 seconds
before it considers lxc-stop complete even though lxc-stop might actually
finish much sooner.  This introduces an unneeded delay.

This commit changes the behavior to check once per second to see when lxc-stop
actually stops doing so up to $max_timeout.  It also slightly simplifies the
code with logic to append the -t $max_timeout to the script.

Signed-off-by: John Audia <graysky@archlinux.us>
2021-09-25 12:37:06 -07:00
..
lxc-auto.config utils/lxc: Add working autostart for OpenWrt 2016-03-12 19:01:59 -05:00
lxc-auto.init lxc-auto: step by 1 sec up to $max_timeout 2021-09-25 12:37:06 -07:00
lxc-unprivileged.defaults lxc: add lxc-unprivileged helper package for unprivileged containers 2017-12-12 13:02:15 +01:00
lxc.conf lxc: Use more FSH compliant /srv/lxc instead of new root dir 2016-05-30 09:04:26 +02:00