From 2e2851dc13d73352530dd4495c7e05603b2e520d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Apr 2024 23:38:38 +0200 Subject: Adding upstream version 2.1.2~dev0+20240219. Signed-off-by: Daniel Baumann --- docs/source/how-to/nssm-service.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 docs/source/how-to/nssm-service.md (limited to 'docs/source/how-to/nssm-service.md') diff --git a/docs/source/how-to/nssm-service.md b/docs/source/how-to/nssm-service.md new file mode 100644 index 0000000..1e39bf4 --- /dev/null +++ b/docs/source/how-to/nssm-service.md @@ -0,0 +1,38 @@ +# How to create NSSM services for Windows + +Download ​[NSSM] and read their usage page about installing. + +In order for the services to be stopped properly, use the debug application +versions (ending in `-debug.exe`). + +## Daemon (deluged) service + +Create a `deluged` service: + +```console +nssm install deluged +``` + +The following are minimum UI changes required for the service to work: + +``` +Path: C:\Program Files\Deluge\deluged-debug.exe +Arguments: -c C:\config_location +``` + +## Web UI (deluge-web) service + +```console +nssm install deluge-web +``` + +``` +Path: C:\Program Files\Deluge\deluge-web-debug.exe +Arguments: -c C:\config_location +``` + +If Web UI is not accessible outside your machine (if you're running +Deluge from a home server), you have to whitelist Deluge in your Windows +Firewall for the `deluge-web` and `deluge-web-debug` executable. + +[nssm]: http://nssm.cc/ -- cgit v1.2.3