From f0e3d3ef8f9dad895f7b6bc1768630f0ef17912e Mon Sep 17 00:00:00 2001 From: David Timber Date: Sun, 15 May 2022 21:31:54 +0800 Subject: Add boot-report subcmd ... - Fix palhm-dnssec-check.sh - Make "tasks" config optional so that PALHM can be used only for boot-report --- src/conf/palhm-boot-report.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/conf/palhm-boot-report.service (limited to 'src/conf/palhm-boot-report.service') 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 -- cgit v1.2.3-70-g09d2