> 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:
> [...patch...]

First, -S option != -s (do you mean this, right?).  Or your patch just
break thing further.

Second, $PID from your's awk-horror and --pidfile /run/$NAME.pid (used
by start-stop-daemon) -- is a joke?

It's better to fix src/* stuff (upstream?) instead and not introduce
a new garbage to the init-file...


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to