fix: bug: agents-llama entrypoint writes to dev-poll log path before creating parent directory (#533)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
bba7585ce1
commit
a0280aa454
1 changed files with 2 additions and 2 deletions
|
|
@ -18,8 +18,8 @@ set -euo pipefail
|
||||||
|
|
||||||
DISINTO_DIR="/home/agent/disinto"
|
DISINTO_DIR="/home/agent/disinto"
|
||||||
LOGFILE="/home/agent/data/agent-entrypoint.log"
|
LOGFILE="/home/agent/data/agent-entrypoint.log"
|
||||||
mkdir -p /home/agent/data
|
mkdir -p /home/agent/data/logs
|
||||||
chown agent:agent /home/agent/data
|
chown -R agent:agent /home/agent/data
|
||||||
|
|
||||||
log() {
|
log() {
|
||||||
printf '[%s] %s\n' "$(date -u '+%Y-%m-%d %H:%M:%S UTC')" "$*" | tee -a "$LOGFILE"
|
printf '[%s] %s\n' "$(date -u '+%Y-%m-%d %H:%M:%S UTC')" "$*" | tee -a "$LOGFILE"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue