Created
January 31, 2012 21:24
-
-
Save ngsw/1713005 to your computer and use it in GitHub Desktop.
nginx -t の 実行で pid ファイルが生成される
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # nginx -V 2>&1 |grep --color '\-\-pid-path.*.pid' | |
| (snip) | |
| --pid-path=/var/run/nginx/nginx.pid | |
| (snip) | |
| # ls /var/run/nginx/nginx.pid | |
| ls: cannot access /var/run/nginx/nginx.pid: そのようなファイルやディレクトリはありません | |
| # nginx -t | |
| nginx: the configuration file /etc/nginx/nginx.conf syntax is ok | |
| nginx: configuration file /etc/nginx/nginx.conf test is successful | |
| # ls /var/run/nginx/nginx.pid | |
| /var/run/nginx/nginx.pid | |
| # ?(´・ω・`)? | |
| # /etc/init.d/nginx status | |
| nginx が停止していますが PID ファイルが残っています | |
| # ?(´・ω・`)? | |
| # /etc/init.d/nginx stop | |
| nginx を停止中: [失敗] | |
| # ??(´・ω・`)?? | |
| # ls /var/run/nginx/nginx.pid | |
| ls: cannot access /var/run/nginx/nginx.pid: そのようなファイルやディレクトリはありません | |
| # こういうものですか? |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
こういうもののようだ……
知りませんでした。