Skip to content

Commit

Permalink
Merge pull request #298 from yoz2326/master
Browse files Browse the repository at this point in the history
Duplicated `--pidfile`  during init if passed to mongod at startup
  • Loading branch information
yosifkit committed Aug 30, 2018
2 parents f4e1d14 + 36a011c commit 9c95830
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 3.2/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ if [ "$originalArgOne" = 'mongod' ]; then
echo
done

"$@" --pidfilepath="$pidfile" --shutdown
"${mongodHackedArgs[@]}" --shutdown
rm -f "$pidfile"

echo
Expand Down
2 changes: 1 addition & 1 deletion 3.4/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ if [ "$originalArgOne" = 'mongod' ]; then
echo
done

"$@" --pidfilepath="$pidfile" --shutdown
"${mongodHackedArgs[@]}" --shutdown
rm -f "$pidfile"

echo
Expand Down
2 changes: 1 addition & 1 deletion 3.6/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ if [ "$originalArgOne" = 'mongod' ]; then
echo
done

"$@" --pidfilepath="$pidfile" --shutdown
"${mongodHackedArgs[@]}" --shutdown
rm -f "$pidfile"

echo
Expand Down
2 changes: 1 addition & 1 deletion 4.0/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ if [ "$originalArgOne" = 'mongod' ]; then
echo
done

"$@" --pidfilepath="$pidfile" --shutdown
"${mongodHackedArgs[@]}" --shutdown
rm -f "$pidfile"

echo
Expand Down
2 changes: 1 addition & 1 deletion 4.1/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ if [ "$originalArgOne" = 'mongod' ]; then
echo
done

"$@" --pidfilepath="$pidfile" --shutdown
"${mongodHackedArgs[@]}" --shutdown
rm -f "$pidfile"

echo
Expand Down

0 comments on commit 9c95830

Please sign in to comment.