mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-27 21:31:16 -04:00
Fixing Ubuntu code slightly.
This commit is contained in:
parent
9465a41efd
commit
33b505bd87
1 changed files with 8 additions and 0 deletions
|
@ -170,3 +170,11 @@ class LinuxSetup(SetupFactory):
|
|||
return()
|
||||
else:
|
||||
exit(1)
|
||||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue