create the config dir in the install process
This commit is contained in:
		
							parent
							
								
									64ac14d2b7
								
							
						
					
					
						commit
						b5f5fd9a21
					
				@ -82,13 +82,8 @@ cluster.on('online', function (worker) {
 | 
				
			|||||||
cluster.on('exit', function (worker, code, signal) {
 | 
					cluster.on('exit', function (worker, code, signal) {
 | 
				
			||||||
  console.info('[MASTER] Worker ' + worker.process.pid + ' died with code: ' + code + ', and signal: ' + signal);
 | 
					  console.info('[MASTER] Worker ' + worker.process.pid + ' died with code: ' + code + ', and signal: ' + signal);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  workers = workers.map(function (w) {
 | 
					  workers = workers.filter(function (w) {
 | 
				
			||||||
    if (worker !== w) {
 | 
					    return w && w !== worker;
 | 
				
			||||||
      return w;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
    return null;
 | 
					 | 
				
			||||||
  }).filter(function (w) {
 | 
					 | 
				
			||||||
    return w;
 | 
					 | 
				
			||||||
  });
 | 
					  });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  //console.log('WARNING: worker spawning turned off for debugging ');
 | 
					  //console.log('WARNING: worker spawning turned off for debugging ');
 | 
				
			||||||
 | 
				
			|||||||
@ -244,7 +244,7 @@ install_my_app()
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  #git clone git@git.daplie.com:Daplie/walnut.js.git
 | 
					  #git clone git@git.daplie.com:Daplie/walnut.js.git
 | 
				
			||||||
  #git clone https://git.daplie.com/Daplie/walnut.js.git /srv/walnut/core
 | 
					  #git clone https://git.daplie.com/Daplie/walnut.js.git /srv/walnut/core
 | 
				
			||||||
  mkdir -p /srv/walnut/{core,lib,var,etc,node_modules}
 | 
					  mkdir -p /srv/walnut/{core,lib,var,etc,config,node_modules}
 | 
				
			||||||
  rm -rf /srv/walnut/core/node_modules
 | 
					  rm -rf /srv/walnut/core/node_modules
 | 
				
			||||||
  ln -sf ../node_modules /srv/walnut/core/node_modules
 | 
					  ln -sf ../node_modules /srv/walnut/core/node_modules
 | 
				
			||||||
  mkdir -p /srv/walnut/var/sites
 | 
					  mkdir -p /srv/walnut/var/sites
 | 
				
			||||||
 | 
				
			|||||||
@ -340,7 +340,7 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) {
 | 
				
			|||||||
              enumerable: true
 | 
					              enumerable: true
 | 
				
			||||||
            , configurable: false
 | 
					            , configurable: false
 | 
				
			||||||
            , writable: false
 | 
					            , writable: false
 | 
				
			||||||
            , value: function getSiteMailerProp(section) {
 | 
					            , value: function getSiteConfigProp(section) {
 | 
				
			||||||
                return PromiseA.resolve((siteConfig || {})[section]);
 | 
					                return PromiseA.resolve((siteConfig || {})[section]);
 | 
				
			||||||
              }
 | 
					              }
 | 
				
			||||||
            });
 | 
					            });
 | 
				
			||||||
 | 
				
			|||||||
@ -42,7 +42,7 @@
 | 
				
			|||||||
    "cluster-store": "git+https://git.daplie.com/Daplie/cluster-store.git#v2",
 | 
					    "cluster-store": "git+https://git.daplie.com/Daplie/cluster-store.git#v2",
 | 
				
			||||||
    "connect": "3.x",
 | 
					    "connect": "3.x",
 | 
				
			||||||
    "connect-cors": "0.5.x",
 | 
					    "connect-cors": "0.5.x",
 | 
				
			||||||
    "connect-recase": "1.x",
 | 
					    "connect-recase": "^1.0.2",
 | 
				
			||||||
    "connect-send-error": "1.x",
 | 
					    "connect-send-error": "1.x",
 | 
				
			||||||
    "escape-html": "^1.0.2",
 | 
					    "escape-html": "^1.0.2",
 | 
				
			||||||
    "escape-string-regexp": "1.x",
 | 
					    "escape-string-regexp": "1.x",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user