aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server.ts b/server.ts
index 67abf4b5c..b75c78b07 100644
--- a/server.ts
+++ b/server.ts
@@ -119,6 +119,7 @@ import { PluginsCheckScheduler } from './server/lib/schedulers/plugins-check-sch
119 119
120cli 120cli
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, () => {