mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-25 05:23:39 -04:00
Commenting out mongo autostart on Arch.
This commit is contained in:
parent
a9974b2929
commit
70542acb04
1 changed files with 10 additions and 10 deletions
|
@ -120,16 +120,16 @@ class LinuxSetup(SetupFactory):
|
|||
else:
|
||||
exit(1)
|
||||
else:
|
||||
try:
|
||||
print("Enabling and starting MongoDB in systemd.")
|
||||
subprocess.check_call(["systemctl", "enable",
|
||||
"mongodb.service"])
|
||||
subprocess.check_call(["systemctl", "start",
|
||||
"mongodb.service"])
|
||||
print("Node and Mongo installed. Continuing.")
|
||||
except subprocess.CalledProcessError as err:
|
||||
print("Mongo failed to start. Aborting")
|
||||
exit(1)
|
||||
#try:
|
||||
#print("Enabling and starting MongoDB in systemd.")
|
||||
#subprocess.check_call(["systemctl", "enable",
|
||||
# "mongodb.service"])
|
||||
#subprocess.check_call(["systemctl", "start",
|
||||
# "mongodb.service"])
|
||||
#print("Node and Mongo installed. Continuing.")
|
||||
#except subprocess.CalledProcessError as err:
|
||||
#print("Mongo failed to start. Aborting")
|
||||
#exit(1)
|
||||
if distro == "ubuntu":
|
||||
print("Ubuntu installation detected. Would you like to install \n"
|
||||
"NodeJS and MongoDB via apt-get? [y/N]")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue