From b1d961cd745c2307d285681cd0ecae144f5f3baa Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 24 Oct 2014 09:58:23 +0200 Subject: 3: reduce time to wait while stopping services and killing processes. Previous values were too high. --- 3 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/3 b/3 index 98b61b7..65df780 100755 --- a/3 +++ b/3 @@ -13,7 +13,7 @@ fi echo msg "Waiting for services to stop...\n" -sv -w196 force-stop /var/service/* +sv force-stop /var/service/* sv exit /var/service/* msg "Saving random seed...\n" @@ -32,7 +32,7 @@ fi msg "Sending TERM signal to processes...\n" pkill --inverse -s0,1 -TERM -sleep 5 +sleep 1 msg "Sending KILL signal to processes...\n" pkill --inverse -s0,1 -KILL @@ -44,5 +44,4 @@ if [ -z "$VIRTUALIZATION" ]; then mount -o remount,ro / fi -sleep 1 sync -- cgit 1.4.1