jetify-com / devbox

Instant, easy, and predictable development environments
https://www.jetify.com/devbox/
Apache License 2.0
8.33k stars 195 forks source link

nats-sever in not does not run as a service #2241

Open gedw99 opened 3 weeks ago

gedw99 commented 3 weeks ago

What problem are you trying to solve?

a services does not run as a service.

devbox global services ls
No services currently running. Run `devbox services up` to start them:

  caddy

devbox global add nats-server@latest
Info: Package "nats-server@latest" already in devbox.json
✓ Computed the Devbox environment.
Info: Package "nats-server@latest" was already in devbox.json and was not modified

devbox global services ls
No services currently running. Run `devbox services up` to start them:

  caddy

What solution would you like?

nats-server to be listed as a service.

Alternatives you've considered

No response

gedw99 commented 3 weeks ago

I think this works if not installed globally ?

To get it to run as a global service, is a change in Nix needed; or in Devbox ?

https://www.nixhub.io/packages/nats-server

gedw99 commented 3 weeks ago

Ah I see that you have a plugins feature on the boil that will allow use to configure nats and other things to start under the command of the process manager.

https://github.com/jetify-com/devbox-plugins

I presume that this "plugins" feature wil be exposed o the Cli eventually, so we dont have to manually do ?

"include": [
    "github:jetpack-io/devbox-plugins?dir=<plugin-name>"
],