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

add command stop、restart,extend command start #1053

Closed
wants to merge 4 commits into from

Conversation

FanchangWang
Copy link
Contributor

add command stop、restart
extend command start

extend command start
@FanchangWang
Copy link
Contributor Author

php bin/hyperf.php start -d //启动服务并进入后台模式
php bin/hyperf.php start -c //启动服务并清除 runtime/container 目录
php bin/hyperf.php start -w //启动服务并监控 app、config目录以及 .env 变化自动重启
php bin/hyperf.php start -w -p /bin/php //启动 watch 服务,参数 p 指定 php 安装目录
php bin/hyperf.php start -w -t 10  //启动 watch 服务,参数 t 指定 watch 时间间隔,单位秒
php bin/hyperf.php stop //停止服务
php bin/hyperf.php restart //重启服务
php bin/hyperf.php restart -c //重启服务并清除 runtime/container 目录

@no-serve-people
Copy link
Contributor

支持

@sonhineboy
Copy link

php bin/hyperf.php start -d //启动服务并进入后台模式
php bin/hyperf.php start -c //启动服务并清除 runtime/container 目录
php bin/hyperf.php start -w //启动服务并监控 app、config目录以及 .env 变化自动重启
php bin/hyperf.php start -w -p /bin/php //启动 watch 服务,参数 p 指定 php 安装目录
php bin/hyperf.php start -w -t 10  //启动 watch 服务,参数 t 指定 watch 时间间隔,单位秒
php bin/hyperf.php stop //停止服务
php bin/hyperf.php restart //重启服务
php bin/hyperf.php restart -c //重启服务并清除 runtime/container 目录

如我我的server里有 http1 http2 ,我怎么做你等单独重启 http1
问题如:#1054

@huangzhhui huangzhhui added this to In progress in Version 2.0 via automation Nov 30, 2019
@huangzhhui huangzhhui added this to the v1.2.0 milestone Nov 30, 2019
@huangzhhui huangzhhui added the BC Break Change label Dec 4, 2019
@limingxinleo
Copy link
Member

PR 不要混到一起。。。

@FanchangWang
Copy link
Contributor Author

PR 不要混到一起。。。

不好意思,把这个提交给忘记了。。。
已经重置 commit 了

@kasnet
Copy link

kasnet commented Apr 23, 2020

php bin/hyperf.php reload //平滑重启服务
对于非容器环境, 这个需求有计划开发吗?@huangzhhui @FanchangWang

@huangzhhui huangzhhui modified the milestones: v1.2, v2.0 May 25, 2020
Version 2.0 automation moved this from In progress to Done Jul 2, 2020
@FanchangWang
Copy link
Contributor Author

官方已经有类似功能组件,关闭 pr

@MattCraftsCode
Copy link

官方已经有类似功能组件,关闭 pr

你倒是说一下是什么组件,贴个链接?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BC Break Change
Projects
No open projects
Version 2.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

7 participants