We are writing a script for a Kibana plugin in node.js. This script at some point starts a child process. We would like to start this process in a "nohup way," so when we stop Kibana, this process would still be running in the background.
May I ask what do you mean by interacting? The child process just starts a custom shell script which does nothing with Kibana. I can even start it "by hand" whilst Kibana is offline and it would still get the job done.
I tested this and didn't see an issue. The process still runs after shutting Kibana down. If I set detached:false, the child process quit when Kibana quit so that works as expected.
We are using the node which was packed with the 5.2.0 Kibana. This means that our node version is 6.9.0. We are using Red Hat Enterprise Linux Server release 7.4.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.