Commit Graph

127 Commits

Author SHA1 Message Date
Davis
7f95bdfe6f In --no-daemon unlink of nonexisting pidfile
When running application using --no-deamon, when process is killed with signal SIGTERM, it exits with code 1, due to fact that pidfile does not exist
2017-09-14 06:48:34 -04:00
Barış Soner Uşaklı
82b5246b28 fix process.env.url if it was changed 2017-08-03 20:52:09 -04:00
Julian Lam
568b2b9957 fixes #5780 2017-07-20 15:43:11 -04:00
Julian Lam
d98b3e8056 automatically lowercasing env vars in nconf, fixes #2544 2017-06-22 11:10:23 -04:00
Peter Jaszkowiak
75d291183d Fix using nodebb in other CWDs 2017-04-12 15:22:58 -06:00
psychobunny
4a33f45b1e use writeFileSync for synchronous fs write operations - nodejs 7.x 2017-03-13 13:57:35 -04:00
Peter Jaszkowiak
4bb49a7171 ESlint no-unused-vars 2017-02-18 15:05:36 -07:00
Peter Jaszkowiak
c4bdb72941 ESlint no-unneeded-ternary
and no-extend-native, no-sequences
2017-02-18 12:59:46 -07:00
Peter Jaszkowiak
239d7f84dd ESlint no-path-concat 2017-02-18 12:47:58 -07:00
Peter Jaszkowiak
896c8c7343 ESlint object-curly-spacing 2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
1493afee2a ESlint indent 2017-02-18 02:38:03 -07:00
Peter Jaszkowiak
3b0dd2d1ef ESlint padded-blocks 2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
604358ecc4 ESlint keyword-spacing, no-multi-spaces 2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
a5a3f3089a ESlint no-mixed-operators 2017-02-18 01:51:11 -07:00
Peter Jaszkowiak
3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
2017-02-18 01:12:18 -07:00
Peter Jaszkowiak
2ba46808a1 ESlint one-var, fix comma-dangle 2017-02-17 20:20:42 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
barisusakli
c3f1129fe9 eslint 2017-01-26 14:22:52 +03:00
barisusakli
29b0552466 update url from config file even if it was passed in env 2017-01-26 14:16:19 +03:00
barisusakli
4f0e93732a #5211
remove passing js/css between procs
2016-11-17 12:56:00 +03:00
Julian Lam
299fcb99f1 more progress on #5211 2016-11-16 20:54:57 -05:00
Julian Lam
135bb6a524 fixes #5209 2016-11-16 12:20:49 -05:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
HeeL
3fa1c1f927 Fix space-infix-ops linter rule 2016-10-13 11:42:29 +02:00
barisusakli
204dd2a69f closes #4948 2016-08-16 20:11:03 +03:00
Ben Lubar
42fa764608 fix js-propagate for restarted secondary instances (#4874) 2016-07-21 10:32:21 -04:00
Ben Lubar
b08696515f Fix restarted secondary instances waiting forever for the templates:compiled message. Fix update notification always appearing when an instance restarts even if there was no update. Closes #4870 (#4871) 2016-07-20 19:43:24 -04:00
Julian Lam
79bcb9be10 fixes #4675 2016-05-24 10:42:56 -04:00
psychobunny
a078fd82e7 fix julian's console.log voodoo 2016-03-31 12:26:55 -04:00
psychobunny
e2bc5f241a optimizing process.send for js minification 2016-03-30 15:54:45 -04:00
barisusakli
9527ac6255 more fixes to loader 2016-03-03 07:20:07 +02:00
barisusakli
c512fed93a one more fix 2016-03-03 07:14:35 +02:00
psychobunny
80b0815d38 @barisusakli last one 2016-03-03 00:09:52 -05:00
barisusakli
ca294fc6ec closes #3663 2015-09-29 18:22:47 -04:00
barisusakli
a64cbbc6df #3573 2015-09-11 16:18:37 -04:00
Julian Lam
671db1681e allowing usage of "false" in silent and daemon environment variables 2015-05-20 09:57:04 -04:00
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. 2015-05-06 21:41:04 -04:00
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 2015-04-27 22:51:44 -04:00
Julian Lam
f6ddff3e5f updated loader to kickstart the web installer if no config is found 2015-04-27 22:41:44 -04:00
barisusakli
c98e630f24 warn missing url 2015-04-27 21:42:08 -04:00
barisusakli
d946a2fcbd closes #3098
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
2015-04-27 20:26:02 -04:00
Julian Lam
cb9a300811 closed #2945 2015-04-07 12:01:25 -04:00
barisusakli
936ea5f686 sync config changes over redis pubsub 2014-12-21 20:25:54 -05:00
Julian Lam
3deb423c55 testing socket availability before attempting to bind 2014-12-10 19:44:27 -05:00
Julian Lam
49dcffcbab if worker process exits with code zero, don't boot up a new worker 2014-12-10 18:52:38 -05:00
barisusakli
104fc2d273 10 second timer 2014-12-03 23:16:50 -05:00
barisusakli
9e9b138afb removed unused code 2014-12-03 23:13:26 -05:00
barisusakli
e7c2bc5d5d removed unused callback 2014-12-03 23:07:00 -05:00
barisusakli
e86650a6af not used anymore 2014-12-03 23:05:33 -05:00
barisusakli
22e20b961e pass all env variables to worker 2014-12-03 17:10:25 -05:00