From 38b7a8e28bc5c102c226333769ed8f2b44a8ce76 Mon Sep 17 00:00:00 2001 From: David Timber Date: Mon, 16 May 2022 17:22:33 +0800 Subject: Doc and licence ... - Add Apache Licence Notice - Doc "boot-report" and "check-dnssec" - Change doc: upper (required) --- src/conf/crontab | 2 +- src/conf/py-sample/sample.jsonc | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/conf') diff --git a/src/conf/crontab b/src/conf/crontab index 35f52ce..d0eeda6 100644 --- a/src/conf/crontab +++ b/src/conf/crontab @@ -3,4 +3,4 @@ MAILTO="root" # Run default task every Sunday at midnight 0 0 * * sun root /var/lib/PALHM/src/palhm.py -q run # Check dnssec validity every hour -# 0 * * * * root systemd-run -qP -p Nice=15 -p ProtectSystem=strict -p ReadOnlyPaths=/ -p PrivateDevices=true --wait /var/lib/PALHM/src/palhm.py -q run check-dnssec +# 0 * * * * root systemd-run -qP -p User=palhm -p Nice=15 -p ProtectSystem=strict -p ReadOnlyPaths=/ -p PrivateDevices=true --wait /var/lib/PALHM/src/palhm.py -q run check-dnssec diff --git a/src/conf/py-sample/sample.jsonc b/src/conf/py-sample/sample.jsonc index 0da72a6..9aa4fa0 100644 --- a/src/conf/py-sample/sample.jsonc +++ b/src/conf/py-sample/sample.jsonc @@ -133,19 +133,19 @@ "path": "example.com", // Placeholder "pipeline": [ /* - * Check if dig can query the record with the DNSSEC - * validation flag. Empty stdout with zero return code - * means SERVFAIL. - */ + * Check if dig can query the record with the DNSSEC + * validation flag. Empty stdout with zero return code + * means SERVFAIL. + */ { "type": "exec-append", "exec-id": "dig-dnssec", "argv": [ "ANY", "example.com" ] }, /* - * Trap for empty dig output grep will return non-zero if - * dig have not produced any output - */ + * Trap for empty dig output grep will return non-zero if + * dig have not produced any output + */ { "type": "exec", "exec-id": "grep-any" } ] } -- cgit v1.2.3-70-g09d2