I don't know if anybody is going to use this, but I at least was amazed how easy this was to set up, so here's a short HOWTO on how to run a Rhino script as a service using Apache commons daemon on Debian or Ubuntu:
http://groups.google.com/group/jack-js/tree/browse_frm/thread/ad968c4b3722a6c9/2dce078700019e62?rnum=1&_done=%2Fgroup%2Fjack-js%2Fbrowse_frm%2Fthread%2Fad968c4b3722a6c9%3F#doc_65302bdf51c85104 The interesting thing is that the init() function is called with root privileges, so it could be used to set up ports etc, while start() is called with an normal user account, so it's where you start your threads etc. See the Apache commons daemon jsvc page for more details: http://commons.apache.org/daemon/jsvc.html Hannes _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
