Archiva can be run by executing:
- * <<<bin/archiva>>>, or <<<bin/archiva.bat>>> for windows (select the one for your environment). The argument can be <<<console>>> to run
+ * <<<bin/archiva>>>, or <<<bin\archiva.bat>>> for windows (select the one for your environment). The argument can be <<<console>>> to run
interactively, or <<<start>>> to run in the background (in this case, run the script with <<<stop>>> to later stop the server). The logs
are available in the <<<logs>>> directory where Archiva is installed.
[]
+* Installing as a Service on Windows
+
+ On Windows, to use the <<<start>>> and <<<stop>>> commands you must first install it as a service. This is done by running:
+
+----
+.\bin\archiva install
+----
+
+ You can then use the <<<start>>> and <<<stop>>> commands as well as the traditional Windows service management console to manage the Archiva
+ service.
+
+ This procedure installs the service to run as the local system user. You must ensure that it has access to read the installation, and to write
+ to the logs and data directories.
+
+ You can later remove the service with:
+
+----
+.\bin\archiva remove
+----
+
* Separating the base from the installation
The standalone instance of Archiva uses the Plexus application server, which is capable of separating it's configuration from installation,
To get started right away, you can run the following after unpacking:
----
-./bin/archiva console
+./bin/archiva console (Linux, Mac, Solaris)
+.\bin\archiva console (Windows)
----
You will need to choose a different start command based on your platform. The <<<console>>> argument