From ce2927a0579790c18d4d9bb214960944f8110ae3 Mon Sep 17 00:00:00 2001 From: Michael Paik Date: Tue, 3 Mar 2015 14:42:02 -0500 Subject: [PATCH] DOCS-4900 - windows manual service install bugfix --- .../steps-create-manually-windows-service-for-mongodb.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/includes/steps-create-manually-windows-service-for-mongodb.yaml b/source/includes/steps-create-manually-windows-service-for-mongodb.yaml index 65986d10e5a..3246cd87fea 100644 --- a/source/includes/steps-create-manually-windows-service-for-mongodb.yaml +++ b/source/includes/steps-create-manually-windows-service-for-mongodb.yaml @@ -53,7 +53,7 @@ action: - pre: "Create the MongoDB service." language: powershell code: | - sc.exe create MongoDB binPath= "\"C:\mongodb\mongod.exe\" --service --config= \"C:\mongodb\mongod.cfg\"" DisplayName= "MongoDB" start= "auto" + sc.exe create MongoDB binPath= "\"C:\mongodb\mongod.exe\" --service --config=\"C:\mongodb\mongod.cfg\"" DisplayName= "MongoDB" start= "auto" post: | ``sc.exe`` requires a space between "=" and the configuration values (eg "binPath= "), and a "\\" to escape double quotes.