update
This commit is contained in:
parent
a8adbf4cfd
commit
27cd09220e
2
app.js
2
app.js
@ -67,7 +67,7 @@ app.get('/fixmysql', (req, res) => {
|
|||||||
restart: ''
|
restart: ''
|
||||||
};
|
};
|
||||||
exec(cmd, (err, stdout, stderr) => {
|
exec(cmd, (err, stdout, stderr) => {
|
||||||
let cmd = 'systemctl restart mysqld';
|
let cmd = 'systemctl start mysqld';
|
||||||
json.rm = stdout;
|
json.rm = stdout;
|
||||||
exec(cmd, (err, sout, serr) => {
|
exec(cmd, (err, sout, serr) => {
|
||||||
json.restart = sout;
|
json.restart = sout;
|
||||||
|
Loading…
Reference in New Issue
Block a user