Boot-Scripte von "Lx-Office" auf "Kivitendo" umbenannt
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 8 Aug 2012 12:12:58 +0000 (14:12 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 8 Aug 2012 14:00:55 +0000 (16:00 +0200)
doc/Lx-Office-Dokumentation.pdf
doc/dokumentation.xml
doc/html/ch02s06.html
scripts/boot/system-v/kivitendo-task-server [new file with mode: 0755]
scripts/boot/system-v/lx-office-task-server [deleted file]
scripts/boot/upstart/kivitendo-task-server.conf [new file with mode: 0644]
scripts/boot/upstart/lx-office-task-server.conf [deleted file]

index 24c0ebc..fe1d25d 100644 (file)
Binary files a/doc/Lx-Office-Dokumentation.pdf and b/doc/Lx-Office-Dokumentation.pdf differ
index 76a5b64..5e14aa3 100644 (file)
@@ -808,8 +808,8 @@ Alias       /url/for/lx-office-erp-fcgid/          /path/to/lx-office-erp/</prog
           Core)</title>
 
           <para>Kopieren Sie die Datei
-          <filename>scripts/boot/system-v/lx-office-task-server</filename>
-          nach <filename>/etc/init.d/lx-office-task-server</filename>. Passen
+          <filename>scripts/boot/system-v/kivitendo-server</filename>
+          nach <filename>/etc/init.d/kivitendo-server</filename>. Passen
           Sie in der kopierten Datei den Pfad zum Task-Server an (Zeile
           <literal>DAEMON=....</literal>). Binden Sie das Script in den
           Boot-Prozess ein. Dies ist distributionsabhängig:</para>
@@ -818,20 +818,20 @@ Alias       /url/for/lx-office-erp-fcgid/          /path/to/lx-office-erp/</prog
             <listitem>
               <para>Debian-basierende Systeme:</para>
 
-              <programlisting>update-rc.d lx-office-task-server defaults
+              <programlisting>update-rc.d kivitendo-task-server defaults
 # Nur bei Debian Squeeze und neuer:
-insserv lx-office-task-server</programlisting>
+insserv kivitendo-task-server</programlisting>
             </listitem>
 
             <listitem>
               <para>OpenSuSE und Fedora Core:</para>
 
-              <programlisting>chkconfig --add lx-office-task-server</programlisting>
+              <programlisting>chkconfig --add kivitendo-task-server</programlisting>
             </listitem>
           </itemizedlist>
 
           <para>Danach kann der Task-Server mit dem folgenden Befehl gestartet
-          werden: <command>/etc/init.d/lx-office-task-server
+          werden: <command>/etc/init.d/kivitendo-task-server
           start</command></para>
         </sect3>
 
@@ -839,13 +839,13 @@ insserv lx-office-task-server</programlisting>
           <title>Upstart-basierende Systeme (z.B. Ubuntu)</title>
 
           <para>Kopieren Sie die Datei
-          <filename>scripts/boot/upstart/lx-office-task-server.conf</filename>
-          nach <filename>/etc/init/lx-office-task-server.conf</filename>.
+          <filename>scripts/boot/upstart/kivitendo-task-server.conf</filename>
+          nach <filename>/etc/init/kivitendo-task-server.conf</filename>.
           Passen Sie in der kopierten Datei den Pfad zum Task-Server an (Zeile
           <literal>exec ....</literal>).</para>
 
           <para>Danach kann der Task-Server mit dem folgenden Befehl gestartet
-          werden: <command>service lx-office-task-server
+          werden: <command>service kivitendo-task-server
           start</command></para>
         </sect3>
       </sect2>
index 0cfc2a9..bbcde32 100644 (file)
         zwangsläufig funktioniert, werden auch Start-Scripte mitgeliefert, die
         anstelle eines symbolischen Links verwendet werden können.</p><div class="sect3" title="2.6.2.1. SystemV-basierende Systeme (z.B. Debian, OpenSuSE, Fedora Core)"><div class="titlepage"><div><div><h4 class="title"><a name="d0e695"></a>2.6.2.1. SystemV-basierende Systeme (z.B. Debian, OpenSuSE, Fedora
           Core)</h4></div></div></div><p>Kopieren Sie die Datei
-          <code class="filename">scripts/boot/system-v/lx-office-task-server</code>
-          nach <code class="filename">/etc/init.d/lx-office-task-server</code>. Passen
+          <code class="filename">scripts/boot/system-v/kivitendo-server</code>
+          nach <code class="filename">/etc/init.d/kivitendo-server</code>. Passen
           Sie in der kopierten Datei den Pfad zum Task-Server an (Zeile
           <code class="literal">DAEMON=....</code>). Binden Sie das Script in den
-          Boot-Prozess ein. Dies ist distributionsabhängig:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Debian-basierende Systeme:</p><pre class="programlisting">update-rc.d lx-office-task-server defaults
+          Boot-Prozess ein. Dies ist distributionsabhängig:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Debian-basierende Systeme:</p><pre class="programlisting">update-rc.d kivitendo-task-server defaults
 # Nur bei Debian Squeeze und neuer:
-insserv lx-office-task-server</pre></li><li class="listitem"><p>OpenSuSE und Fedora Core:</p><pre class="programlisting">chkconfig --add lx-office-task-server</pre></li></ul></div><p>Danach kann der Task-Server mit dem folgenden Befehl gestartet
-          werden: <span class="command"><strong>/etc/init.d/lx-office-task-server
+insserv kivitendo-task-server</pre></li><li class="listitem"><p>OpenSuSE und Fedora Core:</p><pre class="programlisting">chkconfig --add kivitendo-task-server</pre></li></ul></div><p>Danach kann der Task-Server mit dem folgenden Befehl gestartet
+          werden: <span class="command"><strong>/etc/init.d/kivitendo-task-server
           start</strong></span>
                </p></div><div class="sect3" title="2.6.2.2. Upstart-basierende Systeme (z.B. Ubuntu)"><div class="titlepage"><div><div><h4 class="title"><a name="d0e725"></a>2.6.2.2. Upstart-basierende Systeme (z.B. Ubuntu)</h4></div></div></div><p>Kopieren Sie die Datei
-          <code class="filename">scripts/boot/upstart/lx-office-task-server.conf</code>
-          nach <code class="filename">/etc/init/lx-office-task-server.conf</code>.
+          <code class="filename">scripts/boot/upstart/kivitendo-task-server.conf</code>
+          nach <code class="filename">/etc/init/kivitendo-task-server.conf</code>.
           Passen Sie in der kopierten Datei den Pfad zum Task-Server an (Zeile
           <code class="literal">exec ....</code>).</p><p>Danach kann der Task-Server mit dem folgenden Befehl gestartet
-          werden: <span class="command"><strong>service lx-office-task-server
+          werden: <span class="command"><strong>service kivitendo-task-server
           start</strong></span>
                </p></div></div><div class="sect2" title="2.6.3. Wie der Task-Server gestartet und beendet wird"><div class="titlepage"><div><div><h3 class="title"><a name="Prozesskontrolle"></a>2.6.3. Wie der Task-Server gestartet und beendet wird</h3></div></div></div><p>Der Task-Server wird wie folgt kontrolliert:</p><pre class="programlisting">./scripts/task_server.pl Befehl</pre><p>
                <code class="literal">Befehl</code> ist dabei eine der folgenden
diff --git a/scripts/boot/system-v/kivitendo-task-server b/scripts/boot/system-v/kivitendo-task-server
new file mode 100755 (executable)
index 0000000..cab5696
--- /dev/null
@@ -0,0 +1,49 @@
+#!/bin/sh
+
+### BEGIN INIT INFO
+# Provides:          kivitendo-task-server
+# Required-Start:    $local_fs $remote_fs $network $syslog $named
+# Required-Stop:     $local_fs $remote_fs $network $syslog $named
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# X-Interactive:     true
+# Short-Description: Start/stop the Kivitendo task server
+### END INIT INFO
+
+set -e
+
+# Change this to point to the Kivitendo "task_server.pl" location.
+DAEMON="/opt/kivitendo/scripts/task_server.pl"
+TOPIC="Kivitendo task server"
+
+if [ ! -x $DAEMON ] ; then
+  echo "$TOPIC executable not found"
+  exit 1
+fi
+
+case $1 in
+  start)
+    echo "Starting the $TOPIC"
+    $DAEMON start
+    ;;
+  stop)
+    echo "Stopping the $TOPIC"
+    $DAEMON stop
+    ;;
+  restart)
+    echo "Restarting the $TOPIC"
+    $DAEMON restart
+    ;;
+  status)
+    if $DAEMON status > /dev/null 2> /dev/null; then
+      echo "The $TOPIC is running"
+    else
+      echo "The $TOPIC is not running"
+      exit 1
+    fi
+    ;;
+  *)
+    echo "Usage: /etc/init.d/kivitendo-task-server {start|stop|reload|status}"
+    exit 1
+    ;;
+esac
diff --git a/scripts/boot/system-v/lx-office-task-server b/scripts/boot/system-v/lx-office-task-server
deleted file mode 100755 (executable)
index 1beb1d8..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/sh
-
-### BEGIN INIT INFO
-# Provides:          lx-office-task-server
-# Required-Start:    $local_fs $remote_fs $network $syslog $named
-# Required-Stop:     $local_fs $remote_fs $network $syslog $named
-# Default-Start:     2 3 4 5
-# Default-Stop:      0 1 6
-# X-Interactive:     true
-# Short-Description: Start/stop the Lx-Office task server
-### END INIT INFO
-
-set -e
-
-# Change this to point to the Lx-Office "task_server.pl" location.
-DAEMON="/opt/lx-office/scripts/task_server.pl"
-TOPIC="Lx-Office task server"
-
-if [ ! -x $DAEMON ] ; then
-  echo "$TOPIC executable not found"
-  exit 1
-fi
-
-case $1 in
-  start)
-    echo "Starting the $TOPIC"
-    $DAEMON start
-    ;;
-  stop)
-    echo "Stopping the $TOPIC"
-    $DAEMON stop
-    ;;
-  restart)
-    echo "Restarting the $TOPIC"
-    $DAEMON restart
-    ;;
-  status)
-    if $DAEMON status > /dev/null 2> /dev/null; then
-      echo "The $TOPIC is running"
-    else
-      echo "The $TOPIC is not running"
-      exit 1
-    fi
-    ;;
-  *)
-    echo "Usage: /etc/init.d/lx-office-task-server {start|stop|reload|status}"
-    exit 1
-    ;;
-esac
diff --git a/scripts/boot/upstart/kivitendo-task-server.conf b/scripts/boot/upstart/kivitendo-task-server.conf
new file mode 100644 (file)
index 0000000..b3666db
--- /dev/null
@@ -0,0 +1,11 @@
+# kivitendo-task-server - Task server for Kivitendo
+
+description    "Kivitendo task server"
+
+start on runlevel [2345]
+stop on runlevel [!2345]
+
+respawn
+
+# Adjust path
+exec /opt/kivitendo/scripts/task_server.pl -f start
diff --git a/scripts/boot/upstart/lx-office-task-server.conf b/scripts/boot/upstart/lx-office-task-server.conf
deleted file mode 100644 (file)
index fa00ba2..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# lx-office-task-server - Task server for Lx-Office
-
-description    "Lx-Office task server"
-
-start on runlevel [2345]
-stop on runlevel [!2345]
-
-respawn
-
-# Adjust path
-exec /opt/lx-office/scripts/task_server.pl -f start
-