[svnbook] r5680 committed - branches/1.8/zh/book/ ch06-server-configuration.xml

wuzhouhui at users.sourceforge.net wuzhouhui at users.sourceforge.net
Thu May 10 09:26:35 CDT 2018


Revision: 5680
          http://sourceforge.net/p/svnbook/source/5680
Author:   wuzhouhui
Date:     2018-05-10 14:26:32 +0000 (Thu, 10 May 2018)
Log Message:
-----------
1.8/zh: translation of chapter 6 in progress

Modified Paths:
--------------
    branches/1.8/zh/book/ch06-server-configuration.xml

Modified: branches/1.8/zh/book/ch06-server-configuration.xml
===================================================================
--- branches/1.8/zh/book/ch06-server-configuration.xml	2018-05-07 12:52:47 UTC (rev 5679)
+++ branches/1.8/zh/book/ch06-server-configuration.xml	2018-05-10 14:26:32 UTC (rev 5680)
@@ -1283,16 +1283,25 @@
 </screen>
         </informalexample>
 
+      <!--
         <para>Also note that the word <literal>binpath</literal> is
           misleading—its value is a <emphasis>command
           line</emphasis>, not the path to an executable.  That's why
           you need to surround it with quotes if it contains
           embedded spaces.</para>
+      -->
+        <para>还要注意 <literal>binpath</literal> 容易让人产生误解—
+          它的值是一个 <emphasis>命令行</emphasis>, 而不是可执行文件的路径.
+          因此, 如果它的值含有内嵌的空格, 就要用双引号包围起来.</para>
 
+      <!--
         <para>Once the service is defined, it can be stopped, started,
           or queried using standard GUI tools (the Services
           administrative control panel), or at the command
           line:</para>
+      -->
+        <para>服务定义完成后, 可以使用标准的 GUI 工具 (服务管理控制面板) 来
+          停止, 启动或查询服务, 也要以使用命令行工具:</para>
 
         <informalexample>
           <screen>
@@ -1301,6 +1310,7 @@
 </screen>
         </informalexample>
 
+      <!--
         <para>The service can also be uninstalled (i.e., undefined) by
           deleting its definition:  <userinput>sc delete svn</userinput>.
           Just be sure to stop the service first!
@@ -1307,12 +1317,20 @@
           The <command>SC.EXE</command> program has many other
           subcommands and options; run <userinput>sc /?</userinput> to
           learn more about it.</para>
+      -->
+        <para>服务还能被卸载, 方法是删除它的定义: <userinput>sc delete
+            svn</userinput>, 但在这之前记得先停止服务! 程序
+          <command>SC.EXE</command> 还有很多子命令和选项, 执行
+          <userinput>sc /?</userinput> 查看完整的命令帮助信息.</para>
 
       </sect3>
 
       <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
       <sect3 id="svn.serverconfig.svnserve.invoking.launchd">
+      <!--
         <title>svnserve as a launchd job</title>
+      -->
+        <title>svnserve 作为 launchd 作业</title>
 
         <para>
           <indexterm>
@@ -1322,12 +1340,19 @@
           </indexterm>
           <indexterm>
             <primary>launchd</primary>
-          </indexterm>Mac OS X (10.4 and higher) uses <command>launchd</command>
+          </indexterm>
+          Mac OS X (10.4 及更新的版本) 使用 <command>launchd</command>, 在
+          系统范围和用户范围内管理进程 (包括守护进程). 一个
+          <command>launchd</command> 由 XML 文件内的参数指定, 命令
+          <command>launchctl</command> 用于管理作业的生命周期.</para>
+      <!--
+          Mac OS X (10.4 and higher) uses <command>launchd</command>
           to manage processes (including daemons) both system-wide and
           per-user.  A <command>launchd</command> job is specified by
           parameters in an XML property list file, and
           the <command>launchctl</command> command is used to manage
           the lifecycle of those jobs.</para>
+      -->
 
         <para>When configured to run as a <command>launchd</command>
           job, <command>svnserve</command> is automatically launched




More information about the svnbook-dev mailing list