diff --git a/awx/main/tasks.py b/awx/main/tasks.py index d30183c9c6..800225e02f 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -140,7 +140,7 @@ def mongodb_control(cmd): if cmd == 'stop': time.sleep(30) - p = subprocess.Popen('sudo mongod --shutdown -c /etc/mongod.conf') + p = subprocess.Popen('sudo mongod --shutdown -f /etc/mongod.conf') out, err = p.communicate() logger.info("Shutdown command output: %s;%s" % (out, err))