`
renzhelife
  • 浏览: 668972 次
文章分类
社区版块
存档分类
最新评论

简单的service编写 nginx php-fpm

阅读更多

nginx


几个方法

start 直接启动 查看返回值是否是0 如果0则success 非0 则failure

stop 直接调用killproc

reload 调用nginx -s reload

restart stop,start

test 调用nginx -t

status 直接调用status


几个方法killproc, status, success, failure 来自/etc/init.d/functions 详细方法:/etc/init.d/functions说明




php-fpm

start , stop ,restart|reload, status




todo:等有时间写个基于pid 和 conf的... 这样就能支持多php-fpm 了,这玩意儿先凑合用着


分享到:
评论
8 楼 ZY199266 2018-01-31  
间写个基于pid 和 conf的... 这样就能支持多php-fpm 了,这玩意儿先凑合用着
7 楼 ZY199266 2018-01-31  
85c09153a7a256d951eae08e39d32知识
6 楼 ZY199266 2018-01-31  
于pid 和 conf的... 这样就能支持多php-fpm 了,这玩意儿先凑合用着
5 楼 ZY199266 2018-01-31  
pid 和 conf的... 这样就能支持多php-
4 楼 ZY199266 2018-01-31  
c09153a7a256d951eae08e39d3
3 楼 ZY199266 2018-01-31  
有时间写个基于pid 和 conf的... 这样就能支持多php-fpm 了,这玩意儿先凑合用着
2 楼 wu1236 2018-01-26  
12085c09153a7a256d951eae08e39d32知识库
1 楼 wu1236 2018-01-19  
f61eb74b82451a42c1d7577d9d4bf849 丽丽

相关推荐

Global site tag (gtag.js) - Google Analytics