Skip to content
This repository was archived by the owner on May 8, 2023. It is now read-only.
This repository was archived by the owner on May 8, 2023. It is now read-only.

edward to support "service start command" #152

@johnzhanghua

Description

@johnzhanghua

Hi,

I am using the json below to start the mongodb,

"services": [ { "name": "mongo", "commands": { "launch": "sudo service mongod start", "stop" : "sudo service mongod stop" }, "launch_checks": null, "requiresSudo" : true, "watch": { "include": [ "mongo" ] } } ]

As as I run edward start mongo, I got the following error:

mongo > Start: [Failed] (176.66ms)
runner process exited
Cleanup > mongo > Stop: [Failed] (54.025µs)
open /proc/8592: no such file or directory
Error: runner process exited

It looks edward is expecting to check the pid 8592, but this pid could be already exited.

But ps -ef |grep mongo, shows the mongodb service is running.

mongodb 8649 1 0 16:15 ? 00:00:05 /usr/bin/mongod --config /etc/mongod.conf

Thanks,
John

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions