bitcore-wallet-service/pushnotificationsservice/pushnotificationsservice.js

17 lines
399 B
JavaScript
Raw Normal View History

2016-01-04 09:43:21 -08:00
#!/usr/bin/env node
'use strict';
var log = require('npmlog');
log.debug = log.verbose;
var config = require('../config');
2016-01-04 10:56:14 -08:00
var PushNotificationsService = require('../lib/pushnotificationsservice');
2016-01-04 09:43:21 -08:00
2016-01-04 10:56:14 -08:00
var pushNotificationsService = new PushNotificationsService();
pushNotificationsService.start(config, function(err) {
2016-01-04 09:43:21 -08:00
if (err) throw err;
console.log('Push Notification Service started');
});