Skip to content

Commit

Permalink
[FIXED JENKINS-11744] Debian/Ubuntu init script does not wait long en…
Browse files Browse the repository at this point in the history
…ough during stop operation

Increase stop timeout from 5 to 20 seconds.

Originally-From: jenkins-ci.org/commit/core/487b9455298f581600d173c45d613f5ef21f77ff
  • Loading branch information
oldelvet authored and kohsuke committed Nov 30, 2011
1 parent d26efc7 commit 8f369af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/jenkins.init
Expand Up @@ -147,7 +147,7 @@ do_stop()
0)
$DAEMON $DAEMON_ARGS --stop || return 2
# wait for the process to really terminate
for n in 1 2 3 4 5; do
for n in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do
sleep 1
$DAEMON $DAEMON_ARGS --running || break
done
Expand Down

0 comments on commit 8f369af

Please sign in to comment.