Skip to content

Commit 8d123f4

Browse files
author
mike dupont
committed
bugfix : use ${VAR} for variable name
1 parent d00f3bd commit 8d123f4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

systemd/agent-docker.service

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ Restart=always
1818
ExecStartPre=-/usr/bin/docker exec %n stop || echo cannot prestop
1919
ExecStartPre=-/usr/bin/docker rm %n || echo cannot preremove
2020

21-
ExecStartPre=/usr/bin/docker pull {AGENT_IMAGE}
22-
ExecStartPre=/usr/bin/docker pull {TOKENIZER_IMAGE}
23-
ExecStartPre=docker run -v tokenizer:/node_modules/tokenizers/ {TOKENIZER_IMAGE}
21+
ExecStartPre=/usr/bin/docker pull ${AGENT_IMAGE}
22+
ExecStartPre=/usr/bin/docker pull ${TOKENIZER_IMAGE}
23+
ExecStartPre=docker run -v tokenizer:/node_modules/tokenizers/ ${TOKENIZER_IMAGE}
2424

2525
#ExecStart=/usr/bin/docker run -p 3000:3000 --mount type=bind,source=/opt/agent,target=/opt/agent --env-file /var/run/agent/secrets/env --rm --name %n 767503528736.dkr.ecr.us-east-2.amazonaws.com/agent/eliza:feature-arm64_fastembed
26-
ExecStart=/usr/bin/docker run -d -p 3000:3000 -v tokenizer:/app/node_modules/@anush008/tokenizers/ -v tokenizer:/app/node_modules/fastembed/node_modules/.pnpm/@anush008+tokenizers@https+++codeload.github.com+meta-introspector+arm64-tokenizers+tar.gz+98_s2457qj3pe4ojcbckddasgzfvu/node_modules/@anush008/ --mount type=bind,source=/opt/agent,target=/opt/agent --mount type=bind,source=/opt/agent/characters/,target=/app/agent/characters/ --mount type=bind,source=/opt/characters/eliza.character.json,target=/agent/characters/eliza.character.json --env-file /var/run/agent/secrets/env --rm --name "agent-docker.service" --entrypoint /opt/agent/docker-entrypoint-strace2.sh {AGENT_IMAGE}
26+
ExecStart=/usr/bin/docker run -d -p 3000:3000 -v tokenizer:/app/node_modules/@anush008/tokenizers/ -v tokenizer:/app/node_modules/fastembed/node_modules/.pnpm/@anush008+tokenizers@https+++codeload.github.com+meta-introspector+arm64-tokenizers+tar.gz+98_s2457qj3pe4ojcbckddasgzfvu/node_modules/@anush008/ --mount type=bind,source=/opt/agent,target=/opt/agent --mount type=bind,source=/opt/agent/characters/,target=/app/agent/characters/ --mount type=bind,source=/opt/characters/eliza.character.json,target=/agent/characters/eliza.character.json --env-file /var/run/agent/secrets/env --rm --name "agent-docker.service" --entrypoint /opt/agent/docker-entrypoint-strace2.sh ${AGENT_IMAGE}
2727

2828

2929
# FIXME: update cloudwatch logs

0 commit comments

Comments
 (0)