From dc88f9cce0d0a920319ad92c3a8432477f030c47 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 2 May 2024 07:28:31 +0200 Subject: [PATCH] syncoid: fix mail output --- roles/mgrote_zfs_sanoid/templates/syncoid_mail.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mgrote_zfs_sanoid/templates/syncoid_mail.service.j2 b/roles/mgrote_zfs_sanoid/templates/syncoid_mail.service.j2 index 1d959741..57846710 100644 --- a/roles/mgrote_zfs_sanoid/templates/syncoid_mail.service.j2 +++ b/roles/mgrote_zfs_sanoid/templates/syncoid_mail.service.j2 @@ -5,4 +5,4 @@ Description=Send a Mail for sanoid service after error or success sanoid.service [Service] Type=oneshot -ExecStart=/bin/bash -c '/usr/bin/journalctl -u syncoid.service -n 20| mail -s "syncoid - %H" {{ my_mail }}' +ExecStart=/bin/bash -c '/usr/bin/journalctl -u syncoid.service -n 30 | mail -s "syncoid - %H" {{ my_mail }}'