Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Avatar for KuCalc : devops.
Download
50655 views
1
/*
2
* start-daemon.js: Simple test fixture for spawning log-on-interval.js as a daemon
3
*
4
* (C) 2010 Nodejitsu Inc.
5
* MIT LICENCE
6
*
7
*/
8
9
var path = require('path'),
10
forever = require('../../lib/forever');
11
12
var monitor = forever.startDaemon(path.join(__dirname, 'log-on-interval.js'));
13
14
monitor.on('start', function () {
15
forever.startServer(monitor);
16
});
17
18