mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-13 21:44:40 -04:00
Ubuntu starts mongo automatically
This commit is contained in:
parent
9153e1463d
commit
84c2d3b9a7
1 changed files with 5 additions and 5 deletions
|
@ -174,8 +174,8 @@ class LinuxSetup(SetupFactory):
|
|||
else:
|
||||
print("NodeJS and MongoDB installed successfully. "
|
||||
"Staring MongoDB.")
|
||||
try:
|
||||
subprocess.check_call(["service", "mongod", "start"])
|
||||
except subprocess.CalledProcessError as err:
|
||||
print("Mongo failed to start. Aborting.")
|
||||
exit(1)
|
||||
#try:
|
||||
#subprocess.check_call(["service", "mongod", "start"])
|
||||
#except subprocess.CalledProcessError as err:
|
||||
#print("Mongo failed to start. Aborting.")
|
||||
#exit(1)
|
||||
|
|
Loading…
Add table
Reference in a new issue