admiracloud / admiracloud/narnia

Use "service nginx restart" instead of "reload" when nginx is inactive

オープン
#1 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。