<p>If you need to specify the name of the service you want to
install, use the following command. You have to do this if you
have several different service installations of Apache on your
- computer.</p>
+ computer. If you specify a name during the install, you have to
+ also specify it during any other -k operation.</p>
<div class="example"><p><code>
httpd.exe -k install -n "MyServiceName"
too. To start an installed Apache service you'll use this:</p>
<div class="example"><p><code>
- httpd.exe -k start
+ httpd.exe -k start -n "MyServiceName"
</code></p></div>
<p>To stop an Apache service via the command line switches, use
this:</p>
<div class="example"><p><code>
- httpd.exe -k stop
+ httpd.exe -k stop -n "MyServiceName"
</code></p></div>
<p>or</p>
<div class="example"><p><code>
- httpd.exe -k shutdown
+ httpd.exe -k shutdown -n "MyServiceName"
</code></p></div>
<p>You can also restart a running service and force it to reread
its configuration file by using:</p>
<div class="example"><p><code>
- httpd.exe -k restart
+ httpd.exe -k restart -n "MyServiceName"
</code></p></div>
<p>By default, all Apache services are registered to run as the
<?xml version="1.0" encoding="EUC-KR" ?>
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 105989:1438833 (outdated) -->
+<!-- English Revision: 105989:1441750 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more