This commit is contained in:
Jay 2017-05-02 10:03:13 +08:00
parent a8adbf4cfd
commit 27cd09220e
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -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;