Bug#695119: nginx-common: In /etc/init.d/nginx function test_nginx_config doesn't clean pid file at the end.

2012-12-07 Thread Sergey B Kirpichev
When runing nginx -t then process creates pid file and doesn't remove it if his size is 0. Through this I can't run process nginx as a different user (start-stop-daemon -c): Just use su -c for nginx -t. Anyway, you have to modify init-file of nginx. My suggestion to get rid of this error:

Bug#695119: nginx-common: In /etc/init.d/nginx function test_nginx_config doesn't clean pid file at the end.

2012-12-04 Thread Piotr Rogoża
Package: nginx-common Severity: normal When runing nginx -t then process creates pid file and doesn't remove it if his size is 0. Through this I can't run process nginx as a different user (start-stop-daemon -c): # /etc/init.d/nginx.orig start Starting nginx: nginx. nginx: [emerg] open()