From 2b1f0f62a5d8cddcb874924f2a7b83dc108c69e6 Mon Sep 17 00:00:00 2001 From: David Timber Date: Sat, 26 Nov 2022 17:10:23 +0800 Subject: Add 'boot-wait' and 'delay' in boot-report ... - Impl 'boot-wait': 'systemd' - Fix typos, spelling error, indentation errors in doc --- doc/config-fmt.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/config-fmt.md b/doc/config-fmt.md index 585f37a..36987bd 100644 --- a/doc/config-fmt.md +++ b/doc/config-fmt.md @@ -5,9 +5,9 @@ them to json by an external command. PALHM distinguishes between these two format by the file name extension. The conversion only occurs when the name of the config file ends with `.jsonc`. -To support the IEEE754 infinity, the accepated data types for some values are -both string and number. The former will be parsed by the relevant type class -before they are processed. +To support the IEEE754 infinity, the data types used for some values are both +string and number. The former will be parsed by the relevant type class before +they are processed. ## Structure The format of the object feature table. @@ -148,8 +148,8 @@ is required, simply increase the verbosity with the `-v` option. * C: comparator. One of <, <=, >, >= or ==. Defaults to == * Examples * ">=0": ignore exit code(always success) - * "<2" or "0-1": accept exit code 0 and 1 - * "1": accept exit code 1 only + * "<2" or "0-1": accept exit code 0 and 1 + * "1": accept exit code 1 only * "vl-stderr": verbosity level of stderr from the process. Defaults to 1 * "vl-stdout": verbosity level of stdout from the process. Defaults to 3 @@ -164,7 +164,7 @@ is required, simply increase the verbosity with the `-v` option. "argv": [ "/bin/pgp", "-e", "-r", "backup", "--compress-algo", "none" ], "env": { "LC_ALL": "C", - "GNUPGHOME": "~/gnupg" + "GNUPGHOME": "~/gnupg" }, "ec": "==0", "vl-stderr": 1, @@ -396,6 +396,10 @@ header contents of the yaml document for humans. * "uptime-since": include output of `uptime --since` * "uptime": include output of `uptime -p` * "bootid": include boot_id(`/proc/sys/kernel/random/boot_id`) +* "boot-wait": boot wait backend + * "systemd": wait for systemd to finish boot up +* "delay": the number of seconds to wait before sending mail. Finite float equal + to or greater than zero #### Content Substitution Variables * {hostname}: The hostname. See -- cgit v1.2.3-70-g09d2