Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否加上通过WebApi接口实现开启或者关闭某个进程 #6

Open
DarkiT opened this issue Sep 22, 2023 · 1 comment
Open
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@DarkiT
Copy link

DarkiT commented Sep 22, 2023

看了下源码,目前似乎没有通过命令或者是WebApi接口开启或者关闭某个进程,能否实现这个功能了?

@yankeguo
Copy link
Owner

看了下源码,目前似乎没有通过命令或者是WebApi接口开启或者关闭某个进程,能否实现这个功能了?

我有考虑过这个功能,但是鉴于 minit 是设计用来在容器内做轻量化进程管理的,我不想把功能做得太复杂,越复杂越容易出问题。

正常生产下,容器内运行哪些单元在启动时就应该决定好了。

我觉得加一个接口用于重启某个 unit 是可以的,但是不应该加接口来启动/关闭 unit

@yankeguo yankeguo added this to the v1.13.0 milestone Sep 25, 2023
@yankeguo yankeguo self-assigned this Sep 25, 2023
@yankeguo yankeguo added the enhancement New feature or request label Sep 25, 2023
@yankeguo yankeguo modified the milestones: v1.14.0, v1.15.0 Aug 6, 2024
@yankeguo yankeguo modified the milestones: v1.15.0, Future Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants