admiracloud / admiracloud/narnia
Use "service nginx restart" instead of "reload" when nginx is inactive
オープン
bug
- 主要言語
- JavaScript
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Nginx will not execute the reload command in case its service is inactive.
It is safer to:
- check if Nginx syntax is correct with a `nginx -t` command
- if it is and its service is active, execute a `service nginx reload`
- if it is not active, execute a `service nginx restart`
https://github.com/admiracloud/narnia/blob/master/src/lib.js#L23
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。