From 84872793d0d98770d78ce82d07984e2e61d6e70f Mon Sep 17 00:00:00 2001
From: Julien Mathis <jmathis@merethis.com>
Date: Mon, 14 Nov 2016 15:01:44 +0100
Subject: [PATCH] improve doc

---
 doc/en/installation/from_centreon.rst |  4 ++--
 doc/en/installation/from_packages.rst |  4 ++--
 doc/en/upgrade/from_packages.rst      | 10 +++++-----
 doc/en/upgrade/from_sources.rst       |  2 +-
 doc/fr/installation/from_centreon.rst |  4 ++--
 doc/fr/upgrade/from_packages.rst      | 10 +++++-----
 doc/fr/upgrade/from_sources.rst       |  2 +-
 7 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/doc/en/installation/from_centreon.rst b/doc/en/installation/from_centreon.rst
index 5776859804..146f96442e 100644
--- a/doc/en/installation/from_centreon.rst
+++ b/doc/en/installation/from_centreon.rst
@@ -183,7 +183,7 @@ If the following error message appears: **Add innodb_file_per_table=1 in my.cnf
 
 ::
 
-	/etc/init.d/mysql restart
+	service mysql restart
 
 5.    Click on **Refresh**
 
@@ -222,7 +222,7 @@ To start monitoring engine :
 
 ::
  
-	/etc/init.d/cbd start
+	service cbd start
 
 Monitoring is now working.
 
diff --git a/doc/en/installation/from_packages.rst b/doc/en/installation/from_packages.rst
index 5513e9d040..b05815eaf7 100644
--- a/doc/en/installation/from_packages.rst
+++ b/doc/en/installation/from_packages.rst
@@ -170,7 +170,7 @@ If the following error message appears: **Add innodb_file_per_table=1 in my.cnf
 
 ::
 
-  /etc/init.d/mysql restart
+  service mysql restart
 
 5.  Click on **Refresh**
 
@@ -209,7 +209,7 @@ To start monitoring engine :
 
 ::
  
-  /etc/init.d/cbd start
+  service cbd start
 
 Monitoring is now working.
 
diff --git a/doc/en/upgrade/from_packages.rst b/doc/en/upgrade/from_packages.rst
index 5bcf50c7e0..fcf5f31f0b 100644
--- a/doc/en/upgrade/from_packages.rst
+++ b/doc/en/upgrade/from_packages.rst
@@ -92,8 +92,8 @@ Stop Centreon components
 
 Stop Centreon Broker and Centreon Engine on **all poller**::
 
-   # /etc/init.d/centengine stop
-   # /etc/init.d/cbd stop
+   # service centengine stop
+   # service cbd stop
 
 Update components
 *****************
@@ -123,7 +123,7 @@ to load new extension.
 
  ::
 
-   # /etc/init.d/httpd restart
+   # service httpd restart
 
 Conclude update via Centreon web interface
 ******************************************
@@ -176,8 +176,8 @@ Restart all Centreon components on all poller
 
 Start Centreon Broker and Centreon Engine on **all poller**::
 
-   # /etc/init.d/centengine start
-   # /etc/init.d/cbd start
+   # service centengine start
+   # service cbd start
 
 
 Then, if all is ok, go on the Centreon interface and log out and follow the steps :
diff --git a/doc/en/upgrade/from_sources.rst b/doc/en/upgrade/from_sources.rst
index c3a69cc62f..a9b86e9f2a 100644
--- a/doc/en/upgrade/from_sources.rst
+++ b/doc/en/upgrade/from_sources.rst
@@ -44,7 +44,7 @@ go back to [Step 01] and install the prerequisites::
   #                         Centreon (www.centreon.com)                         #
   #                          Thanks for using Centreon                          #
   #                                                                             #
-  #                                    v2.6.6                                   #
+  #                                    v2.8.1                                   #
   #                                                                             #
   #                               infos@centreon.com                            #
   #                                                                             #
diff --git a/doc/fr/installation/from_centreon.rst b/doc/fr/installation/from_centreon.rst
index 7257df389c..a2d55a8bb2 100644
--- a/doc/fr/installation/from_centreon.rst
+++ b/doc/fr/installation/from_centreon.rst
@@ -179,7 +179,7 @@ Effectuez l'opération ci-dessous :
 
 ::
 
-	/etc/init.d/mysql restart
+	service mysql restart
 
 5.	Cliquez sur **Refresh**
 
@@ -236,7 +236,7 @@ Pour démarrer l'ordonnanceur de supervision :
  6. Connectez-vous avec l'utilisateur 'root' sur votre serveur
  7.	Démarrez le composant Centreon Broker::
  
-	/etc/init.d/cbd start
+	service cbd start
 
 La supervision est maintenant opérationnelle.
 
diff --git a/doc/fr/upgrade/from_packages.rst b/doc/fr/upgrade/from_packages.rst
index 31c70edabe..e15206e369 100644
--- a/doc/fr/upgrade/from_packages.rst
+++ b/doc/fr/upgrade/from_packages.rst
@@ -102,8 +102,8 @@ Stoppez Centreon Broker et Centreon Engine sur l’ensemble des pollers
 
    ::
 
-   # /etc/init.d/centengine stop
-   # /etc/init.d/cbd stop
+   # service centengine stop
+   # service cbd stop
 
 2. Mise à jour l’ensemble des paquets
 =====================================
@@ -132,7 +132,7 @@ Suite à l’installation de PHP-intl, il est nécessaire de redémarrer le serv
 
    ::
 
-   # /etc/init.d/httpd restart
+   # service httpd restart
 
 4. Réalisez la mise à jour Web de Centreon 2.8
 ==============================================
@@ -185,8 +185,8 @@ Vous pouvez maintenant redémarrer les instances de collecte afin de remettre le
 
   ::
 
-   # /etc/init.d/centengine start
-   # /etc/init.d/cbd start
+   # service centengine start
+   # service cbd start
 
 
 **********************
diff --git a/doc/fr/upgrade/from_sources.rst b/doc/fr/upgrade/from_sources.rst
index 7031c7b1a7..fd0a511b93 100644
--- a/doc/fr/upgrade/from_sources.rst
+++ b/doc/fr/upgrade/from_sources.rst
@@ -52,7 +52,7 @@ revenir à l'étape [Step 01] et installer les prérequis :
     #                         Centreon (www.centreon.com)                         #
     #                          Thanks for using Centreon                          #
     #                                                                             #
-    #                                    v2.6.0                                   #
+    #                                    v2.8.1                                   #
     #                                                                             #
     #                               infos@centreon.com                            #
     #                                                                             #
-- 
GitLab