nginx no deamon

本文讨论了如何让 Nginx 在启动时不进入后台作为守护进程运行,而是保持在前台运行的方法。这对于调试和测试环境非常有用。

Ruby ForumNGINX > running nginx in the foreground

Posted by  Joe Williams (zeusfaber
on 07.05.2008 17:55 
(Received via mailing list)
I have looked around of documentation on this but haven't found any. Is
it possible to keep the nginx master process from going into the
background/damonizing when starting it? I would like to have it run in
the foreground rather than becoming a daemon.

Thanks.
-Joe
Posted by  Roxis (Guest) 
on 07.05.2008 18:28 
(Received via mailing list)
On Wednesday 07 May 2008, Joe Williams wrote:
> I have looked around of documentation on this but haven't found any. Is
> it possible to keep the nginx master process from going into the
> background/damonizing when starting it? I would like to have it run in
> the foreground rather than becoming a daemon.

daemon off
Posted by  Joe Williams (zeusfaber
on 07.05.2008 18:48 
(Received via mailing list)
Thanks, that worked.

-joe
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值