<div dir="ltr">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).<div><br></div><div>SeeĀ <a href="https://trac.nginx.org/nginx/ticket/433">https://trac.nginx.org/nginx/ticket/433</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 17, 2015 at 9:13 PM, lakarjail <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
The command:<br>
---<br>
# nginx<br>
---<br>
Asks for a password, runs webserver Nginx correctly. However :<br>
---<br>
# service nginx start<br>
---<br>
doesn't, password is not asked on terminal, producing the journalctl above<br>
mentionned. Why this difference of response ? Why an Apache2-like (that<br>
works in both situation) mechanism can't be introduced with Nginx ?<br>
<br></blockquote></div></div></div>