mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-26 03:31:54 +08:00
优化MySQL系统服务参数
This commit is contained in:
@@ -127,7 +127,7 @@ After=network-online.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
Restart=on-failure
|
Restart=always
|
||||||
RestartSec=5s
|
RestartSec=5s
|
||||||
ExecStart=` + exePath + ` daemon
|
ExecStart=` + exePath + ` daemon
|
||||||
ExecStop=` + exePath + ` stop
|
ExecStop=` + exePath + ` stop
|
||||||
|
|||||||
@@ -581,8 +581,8 @@ After=network-online.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
Restart=always
|
Restart=on-failure
|
||||||
RestartSec=1s
|
RestartSec=5s
|
||||||
ExecStart=${BASE_DIR}/support-files/mysql.server start
|
ExecStart=${BASE_DIR}/support-files/mysql.server start
|
||||||
ExecStop=${BASE_DIR}/support-files/mysql.server stop
|
ExecStop=${BASE_DIR}/support-files/mysql.server stop
|
||||||
ExecRestart=${BASE_DIR}/support-files/mysql.server restart
|
ExecRestart=${BASE_DIR}/support-files/mysql.server restart
|
||||||
|
|||||||
Reference in New Issue
Block a user