aboutsummaryrefslogtreecommitdiff
path: root/src/conf/palhm-boot-report.service
diff options
context:
space:
mode:
authorDavid Timber <dxdt@dev.snart.me>2022-05-15 21:31:54 +0800
committerDavid Timber <dxdt@dev.snart.me>2022-05-15 21:31:54 +0800
commitf0e3d3ef8f9dad895f7b6bc1768630f0ef17912e (patch)
tree8fed439b2aab75f091c41e5778cbc72ac2c1f20a /src/conf/palhm-boot-report.service
parent7d2345ecae07e4b792c60f7d36fa78bb2dc69706 (diff)
Add boot-report subcmd ...
- Fix palhm-dnssec-check.sh - Make "tasks" config optional so that PALHM can be used only for boot-report
Diffstat (limited to 'src/conf/palhm-boot-report.service')
-rw-r--r--src/conf/palhm-boot-report.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/conf/palhm-boot-report.service b/src/conf/palhm-boot-report.service
new file mode 100644
index 0000000..288aabd
--- /dev/null
+++ b/src/conf/palhm-boot-report.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=PALHM send boot report mail
+After=postfix.service sendmail.service exim.service
+
+[Service]
+Type=oneshot
+ExecStart=/var/lib/PALHM/src/palhm.py -q boot-report
+Nice=10
+ProtectSystem=strict
+ReadOnlyPaths=/
+PrivateDevices=true
+
+[Install]
+WantedBy=multi-user.target