Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Changelog
All notable changes to this project will be documented in this file.

## 1.0.0 - 2019-07-08
### Added
- New config.json file
- Option to use multiple databases with a single instance using the new config.json file
- New dependencies: node-windows and file-system
- Ability to install the program as a windows service by running the install-service.js file.

## 0.0.2 - 2014-07-10
### Added
- Option to specify server port with ``--port`` flag
Expand Down
16 changes: 16 additions & 0 deletions install-service.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
var Service = require('node-windows').Service;

// Create a new service object
var svc = new Service({
name:'Firebird REST API Service',
description: 'Provides REST API for Firebird Server.',
script: __dirname + '\\src\\main.js'
});

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

svc.install();
Loading