Skip to content

Commit dcd3f4f

Browse files
committed
Removed systemctl for linux to mongod
1 parent f852671 commit dcd3f4f

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

packages/mongo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@assemblerjs/mongo",
3-
"version": "0.9.0",
3+
"version": "0.9.1",
44
"main": "./dist/index.js",
55
"module": "./dist/index.mjs",
66
"types": "./dist/index.d.ts",

packages/mongo/src/utils/run.utils.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ const buildMongoCmd = (res: StartMongoTaskObject) => {
6464
const exe =
6565
platform === 'win32'
6666
? // TODO: Test this.
67-
whichMongoSync() || 'mongod'
68-
: platform === 'linux'
69-
? 'systemctl start mongod'
67+
whichMongoSync() || 'mongod.exe'
7068
: 'mongod';
7169
const port = res.options.port || 27017;
7270
const bindIp = res.options.bindIp?.join(',') || 'localhost';

0 commit comments

Comments
 (0)