From 27cd09220eb5e033a2f2dbef178a997ff234912f Mon Sep 17 00:00:00 2001 From: Jay Date: Tue, 2 May 2017 10:03:13 +0800 Subject: [PATCH] update --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;