apache / apache/couchdb

Replace nssm.exe and install the Windows service differently

Open
#1,303 11 comments 0 reactions 0 assignees View on GitHub
enhancement patches-welcome windows
Dominant language
Erlang
Stars
7k
Forks
1.1k
Avg merge
1d 16h
Merged PRs (30d)
9

Description

Issue #1302 (and others in the past) highlight that nssm, an application we use to run `couchdb.cmd` as the service launcher for CouchDB, is sometimes detected as risky software by 3rd party virus detectors. This is because Microsoft Windows doesn't allow registration of batch/command/shell script files as services - only .exes.

We can work around this by writing a standalone exe that replaces `couchdb.cmd`. This can be installed as the service instead.

Alternative solutions may also be possible.

Contributor guide

Open the contributing guide

Research direction

Start by reading the existing couchdb.cmd and how nssm.exe is used to register CouchDB as a Windows service. Done means replacing that launcher and service registration without nssm.exe while avoiding the third-party antivirus detections described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
erlang
Domain
databases, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.