mtail: fix getting logs from STDIN

This commit is contained in:
missytake
2025-02-25 08:39:58 +01:00
parent e928a33f95
commit 3f2ec54725
2 changed files with 4 additions and 1 deletions

View File

@@ -2,6 +2,9 @@
## untagged
- mtail: fix getting logs from STDIN
([#502](https://github.com/chatmail/chatmail/pull/502))
- filtermail: don't require exactly 2 lines after openPGP payload
([#497](https://github.com/chatmail/chatmail/pull/497))

View File

@@ -3,7 +3,7 @@ Description=mtail
[Service]
Type=simple
ExecStart=/bin/sh -c "journalctl -f -o short-iso -n 0 | /usr/bin/mtail --address={{ address }} --port={{ port }} --progs /etc/mtail --logtostderr --logs -"
ExecStart=/bin/sh -c "journalctl -f -o short-iso -n 0 | /usr/bin/mtail --address={{ address }} --port={{ port }} --progs /etc/mtail --logtostderr --logs /dev/stdin"
Restart=on-failure
[Install]