/* * start-daemon.js: Simple test fixture for spawning log-on-interval.js as a daemon * * (C) 2010 Nodejitsu Inc. * MIT LICENCE * */varpath=require('path'),forever=require('../../lib/forever');varmonitor=forever.startDaemon(path.join(__dirname,'log-on-interval.js'));monitor.on('start',function(){forever.startServer(monitor);});