Running nginx directly works fine because nginx can see and use your
terminal. (Re)starting nginx through systemd does not, because systemd
doesn't provide a terminal (nor would your input reach it).
See https://trac.nginx.org/nginx/ticket/433
On Tue, Nov 17, 2015 at 9:13 PM, lakarjail <nginx-forum@nginx.us> wrote:
>
> The command:
> ---
> # nginx
> ---
> Asks for a password, runs webserver Nginx correctly. However :
> ---
> # service nginx start
> ---
> doesn't, password is not asked on terminal, producing the journalctl above
> mentionned. Why this difference of response ? Why an Apache2-like (that
> works in both situation) mechanism can't be introduced with Nginx ?
>
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx