mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-27 22:38:39 +09:00
✨
This commit is contained in:
parent
3d4b119222
commit
2fd6ddf8ee
@ -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 New Issue
Block a user