What directory is nginx.lock when nginx is compiled and installed?
滿天的星座
滿天的星座 2017-05-16 17:17:58
0
2
506

The operating system is centos7.2. Compile and install nginx1.9.14. The default settings are used. No directory is changed. After the installation is completed, you need to find the directory of nginx.lock, but you can’t find it after searching around. I don’t know which one is installed by default. Table of contents.
There are no following directories:

/var/lock/nginx.lock
滿天的星座
滿天的星座

reply all(2)
阿神

nginx.lock is a lock file used by nginx to ensure that only one service is running. It will be automatically created when nginx starts.

洪涛

find / -name nginx.lock

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template