Skip to content

Commit

Permalink
Make the start and stop scripts a little more portable
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Wood committed Dec 27, 2018
1 parent d8f8de7 commit f8011d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion start_mongo.bash
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

needs_initiate=1

Expand Down
2 changes: 1 addition & 1 deletion stop_mongo.bash
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

for i in $(seq 1 3); do
pid="$(cat tmp/db$i/mongod.lock 2>/dev/null)"
Expand Down

0 comments on commit f8011d3

Please sign in to comment.