From 9ea63ef16d305cd6228c0fbcb055e27de7dc2f12 Mon Sep 17 00:00:00 2001 From: WhoStoleMyNick Date: Wed, 27 Jun 2018 12:27:56 +0300 Subject: [PATCH] Update steps-create-manually-windows-service-for-mongodb.yaml it`s not work without that space and quates unecessary: https://support.microsoft.com/help/251192/how-to-create-a-windows-service-by-using-sc-exe --- .../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 3cfd619fb05..f7aa478b64a 100644 --- a/source/includes/steps-create-manually-windows-service-for-mongodb.yaml +++ b/source/includes/steps-create-manually-windows-service-for-mongodb.yaml @@ -57,7 +57,7 @@ content: | .. code-block:: bat sc.exe create MongoDB binPath= "\"C:\Program Files\MongoDB\Server\{+version+}\bin\mongod.exe\" ^ - --service --config=\"C:\Program Files\MongoDB\Server\{+version+}\mongod.cfg\""DisplayName= "MongoDB" start= "auto" + --service --config=\"C:\Program Files\MongoDB\Server\{+version+}\mongod.cfg\"" DisplayName= "MongoDB" start= auto .. note:: ``sc.exe`` requires a space between "``=`` " and the