02-08-2003, 07:49 PM
|
#47
|
Put up or Shut Up
Join Date: Dec 2001
Location: Spokane WA
Posts: 6,506
|
Re: i joined :)
Quote:
Originally posted by hmorgoth
ps. how can i set it up as a service under 2k and XP. would make my life a lot easyer
thx
|
Thanks to amdmb's team FAQ thread.
Quote:
Running as an NT/2000/XP service
The Windows version of the client can be set up to run as a normal Windows NT service, so that it will start automatically whenever your computer starts up and run in the background until you shut down. Structures will be uploaded every 5000 still, and buffered for later upload at shutdown (so your shutdown procedure will not be delayed). It runs at low priority so other tasks will push it out of the way and so it should not noticeably slow your machine down. Be warned that it will only upload after making 5000 structures (a few hours, depending on your machine speed) so make sure you are connected to the internet when using the client as a service. Also, updates will automatically be accepted (provided they are digitally signed) in this mode and a large amount of data may be buffered if you do not connect to the network for a long period of time. To check progress while running as a service, a file called "progress.txt" will be written to the directory where the program is installed
so you can monitor its progress still.
To setup the program to work as a service:
1. Open a DOS prompt to the directory you installed the client.
2. If it is not already there, create a new file called "handle.txt" and in it type your 8 character handle followed by Enter (or alternatively, runfoldit.bat first, enter your handle when asked for it, then quit)
3. Type: foldtrajlite /install (and hit Enter)
4. The next time you reboot your machine it will start automatically
To remove the service:
1. Go to Administrative Tools -> Services
2. Find and Stop the service called Distributed Folding Project
3. Open a DOS prompt to the directory you installed the client.
4. Type: foldtrajlite /remove (and hit Enter)
5. It will not be run on your machine automatically anymore
You may install a second instance of the service by changing step 3 above from 'foldtrajlite /install' to 'foldtrajlite /install2'. Similarly, to remove this second instance, change step 4 to 'foldtrajlite /remove2'.
Note that if you wish to run two instances, you must install two full copies of the software in separate directories and install one using /install and the other /install2. Not following this procedure correctly will result in unpredictable behaviour.
Configuring the service
You should have a SERVICE.CFG file in your client directory after
following the above steps. If it is not there, remove and re-install
the service. The first line of this file must contain a number
identifying whether it is copy 1 or copy 2 of the service. Next, you
may include any of the following options in any order if you wish:
useram=1 makes use of extra RAM for improved speed
(see -rt option elsewhere in this readme); default is useram=0
priority=### where -20<=###<=20 sets the priority of the task just like the -p option (20=passive, -20=aggressive); default is 20
progress=### where 0<=###<=100 sets the update interval for the progress.txt file, like the -g option (0=disable) default is 50
uploadfreq=### where 999<=###<=10000 controls the upload frequency like the -s option; default=999=assigned from our server
connect=0 disables internet usage - use this if you are on dialup or temporarily unable to access the internet for some reason; you must eventually remove this to upload your data, but your work will be buffered until then; works the same as the -if optionl default is connect=1
uploadonly=1 behaves as the -ut option, instructing the program to upload all buffered work and then terminate. Do NOT combine with the connect=0 option! Default is uploadonly=0
|
|
|
|