mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
Debian has outdated version that does not actually work with logs from stdin. It gets stuck after some time.
11 lines
267 B
Django/Jinja
11 lines
267 B
Django/Jinja
[Unit]
|
|
Description=mtail
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/bin/sh -c "journalctl -f -o short-iso -n 0 | /usr/local/bin/mtail --address={{ address }} --port={{ port }} --progs /etc/mtail --logtostderr --logs -"
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|