Hello everyone,
I hope this has not been asked before, but I can not find it anywhere.
Has anybody ever succesfully run Deluge 1.2.3+WebUi as a service on a Win2k-box? If so, is there an easy to follow guide to that or even something automated? Not that I do mind hacking my registry, but I am reluctant to try and mess up the whole system.
Running Deluge as a service
Re: Running Deluge as a service
I've been faffing about with winserv.exe for a few hours now, but I've made minimal progress, to the point where I just can't figure out what I'm doing wrong. Some kind of guide or pointer in the right direction would be most welcome.
Re: Running Deluge as a service
I have Deluge+WebUI running as a system service on my 2k3 server.
Here is how I set it up.
First I download the Server 2003 Resource Kit Tools from here:
http://www.microsoft.com/download/en/de ... n&id=17657
I installed it in the default location.
In a command prompt I ran:
"C:\Program Files\Windows Resource Kits\Tools\INSTSRV.EXE" Deluge "C:\Program Files\Windows Resource Kits\Tools\srvany.exe "
This created a system service to use.
In the registry I navigated to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Deluge
Next from the Edit menu, I added a string vaue.
Value Name: Application
Data Type : REG_SZ
Edit the string value and enter: "C:\Program Files\Deluge\deluge.exe"
Back in the command prompt, I started my new service:
I ran the command: "net start Deluge"
Finally I would like to give most of this credit to the person who made the post I took most of this information from:
http://forum.vibestreamer.com/viewtopic.php?t=184
To answer the original posters question. The original forum post that I took the information from has similar sets for doing it on Win2k, but as I do not have a a Win2k box running I cannot say whether they will work or not.
Here is how I set it up.
First I download the Server 2003 Resource Kit Tools from here:
http://www.microsoft.com/download/en/de ... n&id=17657
I installed it in the default location.
In a command prompt I ran:
"C:\Program Files\Windows Resource Kits\Tools\INSTSRV.EXE" Deluge "C:\Program Files\Windows Resource Kits\Tools\srvany.exe "
This created a system service to use.
In the registry I navigated to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Deluge
Next from the Edit menu, I added a string vaue.
Value Name: Application
Data Type : REG_SZ
Edit the string value and enter: "C:\Program Files\Deluge\deluge.exe"
Back in the command prompt, I started my new service:
I ran the command: "net start Deluge"
Finally I would like to give most of this credit to the person who made the post I took most of this information from:
http://forum.vibestreamer.com/viewtopic.php?t=184
To answer the original posters question. The original forum post that I took the information from has similar sets for doing it on Win2k, but as I do not have a a Win2k box running I cannot say whether they will work or not.
-
- New User
- Posts: 6
- Joined: Thu Oct 18, 2007 1:04 am
Re: Running Deluge as a service
In case anyone comes across this thread via google as I did, a method that should work better for new versions of windows (server 2k8, windows 7/8) is to use nssm instead of srvany, this works great for me in windows 8 so far:
dowload http://nssm.cc/usage
create the deluge service with nssm install deluged. in the window that pops up browse to your deluged.exe and name the service and click install.
then open services.msc, browse to the deluged service > properties > Log On > choose "this account" and put in your windows username and password (I had to do this or else none of my clients would connect).
Then just start the service and you should be good to go. Haven't tested this method much yet, but working well so far.
dowload http://nssm.cc/usage
create the deluge service with nssm install deluged. in the window that pops up browse to your deluged.exe and name the service and click install.
then open services.msc, browse to the deluged service > properties > Log On > choose "this account" and put in your windows username and password (I had to do this or else none of my clients would connect).
Then just start the service and you should be good to go. Haven't tested this method much yet, but working well so far.
Re: Running Deluge as a service
@ThreatDown Many thanks for nssm solution. It works great on Win8 (64bit).
Re: Running Deluge as a service
Are there any advantages compared to setting up a task (using Task Scheduler) and starting Deluge at startup?
Why exactly you need Deluge running as a service?
Why exactly you need Deluge running as a service?
Re: Running Deluge as a service
Services will usually have the capability to restart a crashed application.