mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-11-30 02:48:17 +08:00
nginx 重启调整
This commit is contained in:
parent
b1fc55705e
commit
346ff113f1
8
PLANS.md
8
PLANS.md
@ -1,8 +1,6 @@
|
||||
### 开发计划
|
||||
|
||||
1. 主要管理页面兼容移动端
|
||||
2. nginx 快捷管理
|
||||
3. ssl 到期提醒、快捷续签
|
||||
4. 管理控制台日志
|
||||
5. 多机统一管理
|
||||
6. 程序宕机处理
|
||||
2. ssl 到期提醒、快捷续签
|
||||
3. 多机统一管理
|
||||
4. 程序宕机处理
|
4
pom.xml
4
pom.xml
@ -55,7 +55,7 @@
|
||||
<scope>system</scope>
|
||||
<systemPath>${java.home}/../lib/tools.jar</systemPath>
|
||||
</dependency>
|
||||
<!-- 证书解密-->
|
||||
<!-- 证书解密-->
|
||||
<dependency>
|
||||
<groupId>org.bouncycastle</groupId>
|
||||
<artifactId>bcprov-jdk15on</artifactId>
|
||||
@ -67,7 +67,7 @@
|
||||
<artifactId>jchardet</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 数据库-->
|
||||
<dependency>
|
||||
<groupId>com.h2database</groupId>
|
||||
<artifactId>h2</artifactId>
|
||||
|
@ -165,7 +165,7 @@ public class NginxController extends BaseController {
|
||||
|
||||
private void reloadNginx() {
|
||||
try {
|
||||
AbstractCommander.getInstance().execCommand("nginx -s reload");
|
||||
AbstractCommander.getInstance().execSystemCommand("nginx -s reload");
|
||||
} catch (Exception e) {
|
||||
DefaultSystemLog.ERROR().error("reload nginx error", e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user