Table of Contents

About

For Windows, as of revision 7.15, Corrade is able to install itself as a Windows service. This can be performed by first placing Corrade in a safe location (usually, C:\Program Files (x86)\Corrade), opening a command-prompt with Administrator privileges, changing directory to where Corrade is placed with:

cd "C:\Program Files (x86)\Corrade"

and then issuing:

Corrade.exe install

This will install Corrade as a Windows service which can be further configured by going to Start->Run...->Services.msc and loading the Services snap-in. In the list of services, you will find Corrade which can now be conveniently started and stopped and configured to restart on failure.

When Corrade runs as a service, in non-interactive mode, it will still log to the configuration file you have specified in Corrade.ini but will additionally register a Windows event-log under Applications with Corrade as source.

We provide an extra tutorial video covering the installation of Corrade as a service, starting, stopping and additionally checking the Windows event log for messages from Corrade.

In order to uninstall Corrade as a service, simply change directory to where you have installed Corrade, for example:

cd "C:\Program Files (x86)\Corrade"

and issue:

Corrade.exe uninstall

You can edit the service using Services.msc MMC snap-in and change the properties and set the start to Automatic (Delayed Start). Furthermore, you can also set the possible recovery options to automatically restart the service in case Corrade disconnects.

Multiple Instances

Multiple instances of Corrade can be installed by specifying the additional --service-name parameter on the command line. First, you would create a separate folder for Corrade - or as many folders as services you want. Then you would install each instance of Corrade by changing directory and then issuing the install command while additionally supplying the --service-name parameter on the command line.

For example, you could name the first instance of Corrade MyFirstBot:

Corrade.exe install --service-name MyFirstBot

Then, you would change directory to the second folder and name a second instance differently:

Corrade.exe install --service-name MySecondBot

After that, following the example, you can open services pane in Windows and you will see MyFirstBot and MySecondBot as two separate services.

It is important that you create two separate copies of the Corrade folder otherwise, two services will point to the same binary and you will obtain two instances that use the same configuration file (Corrade.ini) and knock each other off when the services start.

To uninstall, you would perform the reverse procedure by specifying the bot name to uninstall. For example, to uninstall both bots in this section, you would run two commands:

Corrade.exe uninstall --service-name MyFirstBot

to uninstall the first bot and then:

Corrade.exe uninstall --service-name MySecondBot

in order to uninstall the second bot.

Index


secondlife/scripted_agents/corrade/auto_restart/windows.txt · Last modified: 2017/03/21 21:23 by Wizardry and Steamworks

Access website using Tor


For the copyright, license, warranty and privacy terms for the usage of this website please see the license and privacy pages.