File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -360,14 +360,15 @@ function restart(callback) {
360
360
startDatabase ( ) ;
361
361
setTimeout ( function ( ) {
362
362
callback ( ) ; } , 5000 ) ;
363
- } , 500 ) ;
363
+ } , 5000 ) ;
364
364
}
365
365
366
366
function startDatabase ( ) {
367
367
if ( isWin ) {
368
368
return runPowershell ( neo4jHome + '/bin/neo4j.bat install-service;' + neo4jHome + '/bin/neo4j.bat start' ) ;
369
369
} else {
370
- childProcess . execSync ( neo4jHome + '/bin/neo4j start' , function ( err , stdout , stderr ) {
370
+ childProcess . exec ( neo4jHome + '/bin/neo4j start' , function ( err , stdout , stderr ) {
371
+ console . log ( "starting" ) ;
371
372
if ( err ) throw err ;
372
373
} ) ;
373
374
}
@@ -377,7 +378,8 @@ function stopDatabase() {
377
378
if ( isWin ) {
378
379
runPowershell ( neo4jHome + '/bin/neo4j.bat stop;' + neo4jHome + '/bin/neo4j.bat uninstall-service' ) ;
379
380
} else {
380
- childProcess . execSync ( neo4jHome + '/bin/neo4j stop' , function ( err , stdout , stderr ) {
381
+ childProcess . exec ( neo4jHome + '/bin/neo4j stop' , function ( err , stdout , stderr ) {
382
+ console . log ( "stopping" ) ;
381
383
if ( err ) throw err ;
382
384
} ) ;
383
385
}
You can’t perform that action at this time.
0 commit comments