aboutsummaryrefslogtreecommitdiff
path: root/src/conf
diff options
context:
space:
mode:
authorDavid Timber <dxdt@dev.snart.me>2022-05-16 17:22:33 +0800
committerDavid Timber <dxdt@dev.snart.me>2022-05-16 17:58:25 +0800
commit38b7a8e28bc5c102c226333769ed8f2b44a8ce76 (patch)
tree21a2078849d91796804ff2bf5760eab61b5b0611 /src/conf
parent990a7a560c98dcbaa9c9e8deb0968819b646a664 (diff)
Doc and licence ...
- Add Apache Licence Notice - Doc "boot-report" and "check-dnssec" - Change doc: upper (required)
Diffstat (limited to 'src/conf')
-rw-r--r--src/conf/crontab2
-rw-r--r--src/conf/py-sample/sample.jsonc14
2 files changed, 8 insertions, 8 deletions
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" }
]
}