backup:mariadb
Differences
This shows you the differences between two versions of the page.
| backup:mariadb [2024/10/06 17:01] – created admin | backup:mariadb [2024/10/06 19:56] (current) – admin | ||
|---|---|---|---|
| Line 31: | Line 31: | ||
| ``` | ``` | ||
| - | `/ | + | `/ |
| ```ini | ```ini | ||
| + | [Unit] | ||
| + | Description=status email for %i to xyz | ||
| + | |||
| + | [Service] | ||
| + | Type=oneshot | ||
| + | ExecStart=/ | ||
| ``` | ``` | ||
| + | `/ | ||
| ```bash | ```bash | ||
| + | #!/bin/sh | ||
| + | |||
| + | / | ||
| + | To: $1 | ||
| + | From: systemd < | ||
| + | Subject: $2 | ||
| + | Content-Transfer-Encoding: | ||
| + | Content-Type: | ||
| + | |||
| + | $(systemctl --user status --full " | ||
| + | ERRMAIL | ||
| + | |||
| ``` | ``` | ||
backup/mariadb.1728226914.txt.gz · Last modified: by admin