mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 18:52:50 +00:00
Added files
This commit is contained in:
16
node_modules/forever/test/fixtures/start-daemon.js
generated
vendored
Normal file
16
node_modules/forever/test/fixtures/start-daemon.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* start-daemon.js: Simple test fixture for spawning log-on-interval.js as a daemon
|
||||
*
|
||||
* (C) 2010 Charlie Robbins & the Contributors
|
||||
* MIT LICENCE
|
||||
*
|
||||
*/
|
||||
|
||||
var path = require('path'),
|
||||
forever = require('../../lib/forever');
|
||||
|
||||
var monitor = forever.startDaemon(path.join(__dirname, 'log-on-interval.js'));
|
||||
|
||||
monitor.on('start', function () {
|
||||
forever.startServer(monitor);
|
||||
});
|
||||
Reference in New Issue
Block a user