diff options
-rw-r--r-- | server.ts | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -119,6 +119,7 @@ import { PluginsCheckScheduler } from './server/lib/schedulers/plugins-check-sch | |||
119 | 119 | ||
120 | cli | 120 | cli |
121 | .option('--no-client', 'Start PeerTube without client interface') | 121 | .option('--no-client', 'Start PeerTube without client interface') |
122 | .option('--no-plugins', 'Start PeerTube without plugins/themes enabled') | ||
122 | .parse(process.argv) | 123 | .parse(process.argv) |
123 | 124 | ||
124 | // ----------- App ----------- | 125 | // ----------- App ----------- |
@@ -261,7 +262,7 @@ async function startApplication () { | |||
261 | updateStreamingPlaylistsInfohashesIfNeeded() | 262 | updateStreamingPlaylistsInfohashesIfNeeded() |
262 | .catch(err => logger.error('Cannot update streaming playlist infohashes.', { err })) | 263 | .catch(err => logger.error('Cannot update streaming playlist infohashes.', { err })) |
263 | 264 | ||
264 | await PluginManager.Instance.registerPluginsAndThemes() | 265 | if (cli.plugins) await PluginManager.Instance.registerPluginsAndThemes() |
265 | 266 | ||
266 | // Make server listening | 267 | // Make server listening |
267 | server.listen(port, hostname, () => { | 268 | server.listen(port, hostname, () => { |