@@ -82,6 +82,9 @@ discard block |
||
| 82 | 82 | return $this->actionPerform('status', false); |
| 83 | 83 | } |
| 84 | 84 | |
| 85 | + /** |
|
| 86 | + * @param string $operation |
|
| 87 | + */ |
|
| 85 | 88 | public function actionPerform($operation, $sudo = true) |
| 86 | 89 | { |
| 87 | 90 | $args = ['nginx', $operation]; |
@@ -176,6 +179,9 @@ discard block |
||
| 176 | 179 | $this->_etcDir = $value; |
| 177 | 180 | } |
| 178 | 181 | |
| 182 | + /** |
|
| 183 | + * @return string |
|
| 184 | + */ |
|
| 179 | 185 | public function getEtcDir() |
| 180 | 186 | { |
| 181 | 187 | if ($this->_etcDir === null) { |