mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 06:00:21 +01:00
✨
This commit is contained in:
parent
3d4b119222
commit
2fd6ddf8ee
1 changed files with 2 additions and 1 deletions
|
@ -166,6 +166,8 @@ async function init(): Promise<State> {
|
|||
machineLogger.info(`CPU: ${os.cpus().length}core`);
|
||||
machineLogger.info(`MEM: ${totalmem}GB (available: ${freemem}GB)`);
|
||||
|
||||
new DependencyChecker().checkAll();
|
||||
|
||||
let configLogger = new Logger('Config');
|
||||
if (!fs.existsSync(`${__dirname}/../.config/config.yml`)) {
|
||||
configLogger.error('Configuration not found');
|
||||
|
@ -175,7 +177,6 @@ async function init(): Promise<State> {
|
|||
configLogger.info('Successfully loaded');
|
||||
configLogger.info(`maintainer: ${config.maintainer}`);
|
||||
|
||||
new DependencyChecker().checkAll();
|
||||
|
||||
if (process.platform === 'linux' && !isRoot() && config.port < 1024) {
|
||||
Logger.error('You need root privileges to listen on port below 1024 on Linux');
|
||||
|
|
Loading…
Reference in a new issue