优化MySQL系统服务参数

This commit is contained in:
刘祥超
2023-04-03 10:01:35 +08:00
parent b1943a4cec
commit 6598e16974
2 changed files with 3 additions and 3 deletions

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