]> granicus.if.org Git - icinga2/commitdiff
Docs: Fix broken format for notes/tips in CLI command chapter 5349/head
authorMichael Friedrich <michael.friedrich@icinga.com>
Tue, 13 Jun 2017 20:10:20 +0000 (22:10 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Tue, 13 Jun 2017 20:10:20 +0000 (22:10 +0200)
doc/11-cli-commands.md

index 1068be4f6eda63cbc805572c28b3d4d7c429f66a..efb39ca550a8d13d4e8dfa367a04ebdee7ad0685 100644 (file)
@@ -603,14 +603,10 @@ Validate the configuration with the init script option `checkconfig`:
 
     # /etc/init.d/icinga2 checkconfig
 
-> **Note**
->
-> Using [systemd](2-getting-started.md#systemd-service) you need to manually validate the configuration using
-> the CLI command below.
-
-Or manually passing the `-C` argument:
+**Note**: Using [systemd](2-getting-started.md#systemd-service) you need to manually validate the configuration using
+the CLI command below.
 
-    # /usr/sbin/icinga2 daemon -c /etc/icinga2/icinga2.conf -C
+    # icinga2 daemon -C
 
     [2014-05-22 17:07:25 +0200] critical/ConfigItem: Location:
     /etc/icinga2/conf.d/tests/5872.conf(5): }
@@ -624,13 +620,6 @@ Or manually passing the `-C` argument:
     [2014-05-22 17:07:25 +0200] critical/ConfigItem: 1 errors, 0 warnings.
     Icinga 2 detected configuration errors.
 
-> **Tip**
->
-> Icinga 2 will automatically detect the default path for `icinga2.conf`
-> in `SysconfDir + /icinga2/icinga2.conf` and you can safely omit this parameter.
->
-> `# icinga2 daemon -C`
-
 If you encounter errors during configuration validation, please make sure
 to read the [troubleshooting](15-troubleshooting.md#troubleshooting) chapter.