优化MySQL系统服务参数

This commit is contained in:
GoEdgeLab
2023-04-03 10:01:35 +08:00
parent daf649867f
commit 458bc0eda9
2 changed files with 3 additions and 3 deletions

View File

@@ -127,7 +127,7 @@ After=network-online.target
[Service]
Type=simple
Restart=on-failure
Restart=always
RestartSec=5s
ExecStart=` + exePath + ` daemon
ExecStop=` + exePath + ` stop

View File

@@ -581,8 +581,8 @@ After=network-online.target
[Service]
Type=simple
Restart=always
RestartSec=1s
Restart=on-failure
RestartSec=5s
ExecStart=${BASE_DIR}/support-files/mysql.server start
ExecStop=${BASE_DIR}/support-files/mysql.server stop
ExecRestart=${BASE_DIR}/support-files/mysql.server restart