logging
parent
5aba0d6846
commit
07a4367a99
|
|
@ -28,7 +28,7 @@ setInterval(function update() {
|
||||||
proc = spawn('node', ['relay'], { stdio: "inherit" });
|
proc = spawn('node', ['relay'], { stdio: "inherit" });
|
||||||
|
|
||||||
proc.on('exit', () => {
|
proc.on('exit', () => {
|
||||||
log.info('restarting relay...');
|
log.info('relay exitted, restarting...');
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
keepAlive();
|
keepAlive();
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|
|
||||||
Reference in New Issue