No categories assigned
Parsoid-Service Installation File "parsoid.service"
-
- Last edited 6 years ago by MLR
-
< Setup:Installation Guide | System Preparation | Windows | Parsoid
Revision as of 13:00, 29 November 2019 by Mlink-rodrigue (talk | contribs) (Text replacement - "[[en:{{PAGENAME}}]]" to "[[en:{{FULLPAGENAME}}]]")
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();