adodb
Version:
Package for executing SQL queries to MS Access databases intended for use on Windows XP and later. In the client-server mode, the client part can be used without restriction of the operating system.
20 lines (15 loc) • 403 B
JavaScript
;
const path = require('path');
const Service = require('node-windows').Service;
const svc = new Service({
name: 'adodb-server',
script: path.join(__dirname, './server.js')
});
svc
.on('start', function() {
console.log('The service started.');
})
.on('stop', function() {
console.log('The service stopped.');
});
svc.restart();