#!/bin/bash set -euo pipefail cd / instance=$1; shift /usr/sbin/sendmail -t < Subject: Backup @ $HOSTNAME Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 $(systemctl status --full 2>&1) $(journalctl --since today --unit tergum@$instance 2>&1) ERRMAIL ry'/>
aboutsummaryrefslogtreecommitdiff
path: root/bin/dhall
blob: ad71285cb905ac173405f57e6112abc8964002e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50