You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/usr/bin/env node
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
var log = require('npmlog');
|
|
|
|
log.debug = log.verbose;
|
|
|
|
log.level = 'debug';
|
|
|
|
|
|
|
|
var config = require('../config');
|
|
|
|
var PushNotificationsService = require('../lib/pushnotificationsservice');
|
|
|
|
|
|
|
|
var pushNotificationsService = new PushNotificationsService();
|
|
|
|
pushNotificationsService.start(config, function(err) {
|
|
|
|
if (err) throw err;
|
|
|
|
|
|
|
|
log.debug('Push Notification Service started');
|
|
|
|
});
|