summaryrefslogtreecommitdiffstats
path: root/nfvparser/toscaparser/tests/artifacts/mongodb/start.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nfvparser/toscaparser/tests/artifacts/mongodb/start.sh')
-rw-r--r--nfvparser/toscaparser/tests/artifacts/mongodb/start.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/nfvparser/toscaparser/tests/artifacts/mongodb/start.sh b/nfvparser/toscaparser/tests/artifacts/mongodb/start.sh
new file mode 100644
index 0000000..ac200a5
--- /dev/null
+++ b/nfvparser/toscaparser/tests/artifacts/mongodb/start.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+# This script starts mongodb
+service mongod stop
+rm /var/lib/mongodb/mongod.lock
+service mongod start