diff --git a/app.js b/app.js index 0370a1d..521bff2 100644 --- a/app.js +++ b/app.js @@ -67,7 +67,7 @@ app.get('/fixmysql', (req, res) => { restart: '' }; exec(cmd, (err, stdout, stderr) => { - let cmd = 'systemctl restart mysqld'; + let cmd = 'systemctl start mysqld'; json.rm = stdout; exec(cmd, (err, sout, serr) => { json.restart = sout;