beautypg.com

Jvm options, Run the connector as a service, Stop running a connector – Google Search Appliance Connectors Administration Guide User Manual

Page 17

background image


Use the ServicePassword to specify the password for the account designated by the
ServiceUser parameter, as shown in the following example:

--ServicePassword password ^

Jvm options

Use the JvmOptions parameter to specify a JvList of options in the form of -D or -
X

that will be passed to the JVM, as shown in the following example:


++JvmOptions=-Djava.util.logging.config.file=logging.properties

Run the connector as a service

To run a connector as a service, run the following command in the same directory where
the connector .jar files are installed:

prunsrv start

Stop running a connector

To stop running a connector in Windows or Linux, close the connector command prompt
on the host.

You can stop running a connector as a service on Windows from either the service list or
the command line.

To stop running a connector as a service on Windows from the service list:

1. On the connector host, choose Start > Run > services.msc

2. Select the connector service.
3. Click Stop.


To stop running a connector as a service on Windows from the command line, enter the
following command on the host:

prunsrv stop