Commit Graph

92 Commits (550140ada7dade2fb7dae24c9c775ce6a3a67c4a)

Author SHA1 Message Date
Julian Lam 671db1681e allowing usage of "false" in silent and daemon environment variables
Julian Lam 0ff09d8093 changed the behaviour of --no-daemon so that it does not also pipe output to stdout, use new flag --no-silent for that. --no-daemon just does as it advertises, and doesn't daemonize the loader process before spawning app.js instances.
Julian Lam 379bdd12e0 fixed improper parsing of url in loader, and updated mongo init to not send anything in cb except err. Also updated webserver init so that it doesn't expect stuff from static:app.preload
Julian Lam f6ddff3e5f updated loader to kickstart the web installer if no config is found
barisusakli c98e630f24 warn missing url
barisusakli d946a2fcbd closes
wait for templates to compile even if using clustering
fix emitter.all
upgrade.check error first
removed plugins.ready, using callback on plugins.init
removed webserver.init, using webserver.listen
Julian Lam cb9a300811 closed
barisusakli 936ea5f686 sync config changes over redis pubsub
Julian Lam 3deb423c55 testing socket availability before attempting to bind
Julian Lam 49dcffcbab if worker process exits with code zero, don't boot up a new worker
barisusakli 104fc2d273 10 second timer
barisusakli 9e9b138afb removed unused code
barisusakli e7c2bc5d5d removed unused callback
barisusakli e86650a6af not used anymore
barisusakli 22e20b961e pass all env variables to worker
Julian Lam d14cd254a5 only instantiating logrotate object if silent
barisusakli 16f62e6502 closes
barisusakli d62cdd5127 added support for specifying which ports to use
if no port is specified in config.json port from url will be used if no
port in url then default to 4567

port in config.json can be an array or a single port number
barisusakli f67bc8d056 fix space
barisusakli 64e13df14c removed node cluster spawn procs on ports
barisusakli e49dfc7266 cleaned up loader.js
barisusakli 83a679fc15 fixed wrong var
barisusakli 7a5383748c possible fix for
barisusakli 14a2db4b2e fix workerIndex for ipv6
Julian Lam 5cc30ca1a0 more cache hash fixes
Julian Lam 2e24224449 passing css hash to other workers on startup
Julian Lam 82708d65c6 propagating hash to all workers on css compilation
barisusakli 7332ba9c25 fix loader for new config.json format
barisusakli 17d7916fe9 check if worker exists
barisusakli 2c89d50322 Merge remote-tracking branch 'origin/master' into socket.io1.x
barisusakli 6760ce00cc removed unused msgs
barisusakli c213f77f91 merge
Julian Lam e952a873a8 moving onlineUsers from an in-memory variable to a sorted set
barisusakli 1abe35092b cluster socket.io fixes
close proxy server on loader.stop
changed handles to object
barisusakli 785790c414 moved handle close to fork worker
barisusakli d1fcb50c7d cluster sticky session
Julian Lam 0d6be40238 fixed
Julian Lam 4125a087b5 closed , removed use of deprecated -d flag in executable
Julian Lam 783481e644 Support for reloading nodebb via the nodebb executable
barisusakli bce96d04c7 forkWorker function, pipe new worker output to log
barisusakli 4c8287251a added stderr piping to output
barisusakli 50a06f9369 log signal as well
barisusakli 63cf8d674d listen disconnect event, display unknow socket method name on dev
Julian Lam aac923fb03 fised
psychobunny 8ef4ad6f14 Revert "reverting temporarily until we figure out why logs aren't showing up"
This reverts commit 59b3e6f78f.
psychobunny 59b3e6f78f reverting temporarily until we figure out why logs aren't showing up
Julian Lam 62d0e08d6a stopped loader from crashing whenever NodeBB restarts
Julian Lam 97dba9ae39 fixed
psychobunny 94ec07eb73 linting
Julian Lam b7ba6a0d8f fixed - each individual thread will create its own logrotate write handler, because if one is closed, everything crashes in a cascade effect because we're calling .write() after .end(), bleh.