jupiter-mail/target/scripts/helpers/log.sh

10 lines
158 B
Bash
Raw Normal View History

2026-01-28 13:42:48 +00:00
#!/bin/bash
LOGFILE=/var/log/mail/mail.log
mkdir -p $(dirname "$LOGFILE")
touch "${LOGFILE}"
function log() {
/usr/local/bin/log "$1" "$2" > $LOGFILE
}