diff options
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -44,7 +44,7 @@ checkFFmpeg(CONFIG) | |||
44 | 44 | ||
45 | checkNodeVersion() | 45 | checkNodeVersion() |
46 | 46 | ||
47 | import { checkConfig, checkActivityPubUrls } from './server/initializers/checker-after-init' | 47 | import { checkConfig, checkActivityPubUrls, checkFFmpegVersion } from './server/initializers/checker-after-init' |
48 | 48 | ||
49 | const errorMessage = checkConfig() | 49 | const errorMessage = checkConfig() |
50 | if (errorMessage !== null) { | 50 | if (errorMessage !== null) { |
@@ -252,6 +252,9 @@ async function startApplication () { | |||
252 | process.exit(-1) | 252 | process.exit(-1) |
253 | }) | 253 | }) |
254 | 254 | ||
255 | checkFFmpegVersion() | ||
256 | .catch(err => logger.error('Cannot check ffmpeg version', { err })) | ||
257 | |||
255 | // Email initialization | 258 | // Email initialization |
256 | Emailer.Instance.init() | 259 | Emailer.Instance.init() |
257 | 260 | ||