Re: systemd nginx service unable to start nginx 1.11.10

2019-05-28 Thread Vincent Li
On Tue, May 28, 2019 at 4:45 PM Maxim Dounin 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 sys

systemd nginx service unable to start nginx 1.11.10

2019-05-28 Thread Vincent Li
Hi, I am running ubuntu 16.04, the nginx package from ubuntu can be started from systemd ok as below shown. ==COMMAND OUTPUT= #/usr/sbin/nginx-from-ubuntu -v nginx version: nginx/1.10.3 (Ubuntu) # ls -l /usr/sbin/nginx lrwxrwxrwx 1 root root 27 May 28 15:29 /usr/sbin/nginx -> /usr/sbin