seeddms-docker/sources/seeddms-settings.sh
2020-01-19 16:26:25 +01:00

11 lines
222 B
Bash

#!/bin/bash
tmpdir=/tmp/seed
logfile=$SEEDDMS_BASE/data/log/`date +%Y%m%d`.log
function log() {
printf "%s [%s] -- (localhost) %s\n" "`date +"%b %d %H:%M:%S"`" $1 "$2" >> $logfile
}
export PATH=$PATH:/usr/local/bin