From 39efde5369a98d67728a68bbdae3cde4ab74a112 Mon Sep 17 00:00:00 2001 From: Asaf Gartner Date: Sat, 4 Sep 2021 21:21:11 +0300 Subject: [PATCH] A possibly working admin email thing --- server/adminmailer.sh | 5 +++++ server/caddy.service | 1 + server/cinera.service | 1 + server/hmn.service | 1 + server/serversetup.sh | 14 ++++++++++++++ server/status-email@.service | 8 ++++++++ 6 files changed, 30 insertions(+) create mode 100755 server/adminmailer.sh create mode 100644 server/status-email@.service diff --git a/server/adminmailer.sh b/server/adminmailer.sh new file mode 100755 index 00000000..f2a9048f --- /dev/null +++ b/server/adminmailer.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +/home/hmn/hmn/adminmailer/adminmailer "[$1] Status changed" <