CraZySacX/node-jdbc — pull request #30 by geekgonecrazy (2014-12-16 15:53:59+00:00)
Title: Prevent Java from handling externally generated signals

This prevents Java from handling external generated signals. Such as SIGINIT. Info on flags used [here](http://www-01.ibm.com/support/knowledgecenter/SSYKE2_7.0.0/com.ibm.java.aix.71.doc/diag/appendixes/cmdline/Xrs.html)

If you try to kill the node app after using java it won't die. You'll have to go in and manually find the pid and kill the process. Because java was handling the signals. This strips that away from java and gives the control to the node app.

Now you can do things like:
```
process.on('SIGINIT', function() {
jdbc.close(function(err) {
if(err) {
console.log(err);
} else {
console.log("Connection closed successfully!");
}
});
});
```

This makes life much easier, especially during development. Super annoying to have to constantly go and kill the pid.