wk1: initial docker image setup
This commit is contained in:
commit
51738fcac7
33 changed files with 1833 additions and 0 deletions
9
target/scripts/helpers/log.sh
Normal file
9
target/scripts/helpers/log.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
LOGFILE=/var/log/mail/mail.log
|
||||
mkdir -p $(dirname "$LOGFILE")
|
||||
touch "${LOGFILE}"
|
||||
|
||||
function log() {
|
||||
/usr/local/bin/log "$1" "$2" > $LOGFILE
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue