improve many things/dep updates

Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
renovate[bot]
2023-07-13 00:44:29 +00:00
committed by Zoey
parent c6ecb61c9b
commit 66bfcf8f6c
13 changed files with 267 additions and 344 deletions

View File

@@ -107,7 +107,7 @@ const internalNginx = {
logger.info('Testing Nginx configuration');
}
return utils.exec('nginx -t -g "error_log off;"');
return utils.exec('nginx -tq');
},
/**
@@ -120,13 +120,13 @@ const internalNginx = {
if (fs.existsSync(NgxPidFilePath)) {
const ngxPID = fs.readFileSync(NgxPidFilePath, 'utf8').trim();
if (ngxPID.length > 0) {
logger.info('Killing Nginx');
utils.exec(`kill ${ngxPID}`);
logger.info('Quitting Nginx');
utils.exec('nginx -s quit');
}
}
logger.info('Starting Nginx in three seconds');
setTimeout(() => {
utils.execfg('nginx');
utils.execfg('nginx -e stderr');
}, 3000);
});
},

View File

@@ -15,13 +15,13 @@
"express-fileupload": "1.4.0",
"gravatar": "1.8.2",
"jsonwebtoken": "9.0.1",
"knex": "2.4.2",
"knex": "2.5.1",
"liquidjs": "10.8.4",
"lodash": "4.17.21",
"moment": "2.29.4",
"mysql": "2.18.1",
"node-rsa": "1.1.1",
"objection": "3.0.4",
"objection": "3.1.1",
"path": "0.12.7",
"signale": "1.4.0",
"sqlite3": "5.1.6"
@@ -32,7 +32,7 @@
"author": "Jamie Curnow <jc@jc21.com>",
"license": "MIT",
"devDependencies": {
"eslint": "8.44.0",
"eslint": "8.46.0",
"eslint-plugin-align-assignments": "1.1.2"
}
}