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:
|
else:
|
||||||
exit(1)
|
exit(1)
|
||||||
else:
|
else:
|
||||||
try:
|
#try:
|
||||||
print("Enabling and starting MongoDB in systemd.")
|
#print("Enabling and starting MongoDB in systemd.")
|
||||||
subprocess.check_call(["systemctl", "enable",
|
#subprocess.check_call(["systemctl", "enable",
|
||||||
"mongodb.service"])
|
# "mongodb.service"])
|
||||||
subprocess.check_call(["systemctl", "start",
|
#subprocess.check_call(["systemctl", "start",
|
||||||
"mongodb.service"])
|
# "mongodb.service"])
|
||||||
print("Node and Mongo installed. Continuing.")
|
#print("Node and Mongo installed. Continuing.")
|
||||||
except subprocess.CalledProcessError as err:
|
#except subprocess.CalledProcessError as err:
|
||||||
print("Mongo failed to start. Aborting")
|
#print("Mongo failed to start. Aborting")
|
||||||
exit(1)
|
#exit(1)
|
||||||
if distro == "ubuntu":
|
if distro == "ubuntu":
|
||||||
print("Ubuntu installation detected. Would you like to install \n"
|
print("Ubuntu installation detected. Would you like to install \n"
|
||||||
"NodeJS and MongoDB via apt-get? [y/N]")
|
"NodeJS and MongoDB via apt-get? [y/N]")
|
||||||
|
|
Reference in a new issue