On Tue, May 28, 2019 at 4:45 PM Maxim Dounin <mdounin@mdounin.ru> wrote:
> By default, nginx uses /usr/local/nginx/logs/nginx.pid as a PID
> file path, see "--pid-path=" here:
>
> http://nginx.org/en/docs/configure.html
>
> Unless you've redefined it during compilation, or set in nginx
> configuration, or changed systemd service file appropriately,
> the result:
>
> > May 28 15:36:47 controller-dell710 systemd[1]: nginx.service: PID file
> > /run/nginx.pid not readable (yet?) after start: No such file or
> > directory
>
> is expected, as your nginx configuration does not match your
> systemd service file.
thank you! change PIDFile fixed it
[Service]
PIDFile=/usr/local/nginx/logs/nginx.pid
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx