aboutsummaryrefslogtreecommitdiff
path: root/src/infrastructure/guix/system.scm
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-11-28 08:28:32 -0300
committerEuAndreh <eu@euandre.org>2022-11-28 08:29:20 -0300
commit1cf58cebcd51936e53cc255eacf8861f80b02768 (patch)
treed4d1fefb8709c2f9ead9ddf5f9cc42e7caaed798 /src/infrastructure/guix/system.scm
parentsrc/infrastructure/guix/channels.scm: Change org-euandre channel (diff)
downloadtoph-1cf58cebcd51936e53cc255eacf8861f80b02768.tar.gz
toph-1cf58cebcd51936e53cc255eacf8861f80b02768.tar.xz
src/infrastructure/guix/system.scm: Add hostname to cronjob email subject
Diffstat (limited to 'src/infrastructure/guix/system.scm')
-rw-r--r--src/infrastructure/guix/system.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/infrastructure/guix/system.scm b/src/infrastructure/guix/system.scm
index 6218583..697d4c1 100644
--- a/src/infrastructure/guix/system.scm
+++ b/src/infrastructure/guix/system.scm
@@ -318,7 +318,7 @@
set -eu
CMD="$*"
- with-email -s "$CMD" -- "$@" 1>> /var/log/cronjob.log 2>&1
+ with-email -s "$(hostname): $CMD" -- "$@" 1>> /var/log/cronjob.log 2>&1
"#)
(define reconfigure.sh #"-