coreybutler / coreybutler/node-windows

Service creation no error , Task Manager: Services does not show anything

Open
#101 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.9k
Forks
368
PR merge metrics
No merged PRs in 30d

Description

The service looks like it was created as i have log records for the start of my node server. I do not see the Service within Task Manager: Services

PS C:\NodeApps\Cdsfeedt> node createService.js
Service installed and is now starting up

{"level":"info","message":"Express server listening on port 9443","timestamp":"2015-08-24T12:36:49.801Z"}

Code that was used to create the service: (missing the details of the name and file location)
File: createService.js

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

// Create a new service object
var svc = new Service({
name:'Name of service',
description: 'lets put something here to help out the lookers',
script: 'File patth')
});

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

svc.install();

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.