No categories assigned

Parsoid-Service Installation File "parsoid.service"

< Setup:Installation Guide‎ | System Preparation‎ | Windows‎ | Parsoid

This is the content for the file "parsoid.service". You can find detailed information on the Parsoid documentation page:

var Service = require('node-windows').Service;

// Create a new service object
var svc = new Service({
  name:'Parsoid Web Service',
  description: 'Parsoid Web Service for MediaWiki',
  script: 'C:\\bluespice\\bin\\npm\\node_modules\\parsoid\\bin\\server.js'
});

// Listen for the "install" event, which indicates the
// process is available as a service.
svc.on('install',function(){
  svc.start();
});

svc.install();

Attachments

Discussions