Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc56fc47

Browse files
committed
use 'docker stop' instead of 'docker kill'
The 'stop' command first tries SIGTERM before resorting to SIGKILL,which is a gentler way to stop processes. (SIGTERM gives processes anopportunity to clean up before exiting; SIGKILL can't be caught so itis very abrupt.)
1 parent2609cbb commitc56fc47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎tools/build_test_env.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ CONFIG=/tmp/python-gitlab.cfg
5555

5656
cleanup() {
5757
rm -f"${CONFIG}"
58-
log"Killing gitlab-test docker container..."
59-
dockerkill gitlab-test>/dev/null2>&1
58+
log"Stopping gitlab-test docker container..."
59+
dockerstop gitlab-test>/dev/null2>&1
6060
log"Removing gitlab-test docker container..."
6161
docker rm gitlab-test>/dev/null2>&1
6262
log"Deactivating Python virtualenv..."

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp