<?xml version="1.0"?>
<!--
 Licensed to the Apache Software Foundation (ASF) under one or more
 contributor license agreements.  See the NOTICE file distributed with
 this work for additional information regarding copyright ownership.
 The ASF licenses this file to You under the Apache License, Version 2.0
 (the "License"); you may not use this file except in compliance with
 the License.  You may obtain a copy of the License at

      https://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->

<document xmlns="http://maven.apache.org/XDOC/2.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd">
 <properties>
  <title>Daemon : binaries</title>
  <author email="jfrederic.clere@fujitsu-siemens.con">Jean-Frederic Clere</author>
 </properties>

<body>
<section name="What to download?">
<p>
In the directory
<a href="https://downloads.apache.org/commons/daemon/binaries/">binaries</a>
you will find subdirectories containing archives
corresponding to your operating system. Only the Windows builds are provided as a zip file.
</p>
</section>

<section name="How do I get the executable?">
<subsection name="procrun">
<p>
The Windows archive (e.g. commons-daemon-x.y.z-bin-windows.zip) contains 2 different executables:
</p>
<ul>
<li>prunsrv.exe - service application for running applications as services.</li>
<li>prunmgr.exe - the GUI manager application used to monitor and configure installed services.</li>
</ul>
<p>
There is only one <code>prunmgr.exe</code> application for all architectures.
The <code>prunsrv.exe</code> executable is available in 2 different versions for different architectures.
The version in the top-level directory is for 32-bit (x86) architectures.
The lower level directories are for AMD/EMT 64-bit systems. Itanium is no longer supported.
</p>
<p>
The Windows application <code>prunsrv.exe</code> is used to install an application as a service.
Once installed, <code>prunmgr.exe</code> can be used to monitor and reconfigure the service.
(see <a href="procrun.html">procrun</a> for more information).
The Windows binary zip archive should be unpacked into the location from which you wish to run it, for example:
<code>%ProgramFiles%\Apache Commons Daemon</code>
</p>
</subsection>
</section>

</body>
</document>
