[ agent ] [executor] Function File Executor -2

This commit is contained in:
zeaslity
2022-12-12 20:09:32 +08:00
parent 32096ef828
commit b49b210569
11 changed files with 125 additions and 51 deletions

View File

@@ -387,12 +387,12 @@ main() {
PrintEnv
FunctionEnd
}
main
scp -r /wdd /host/wdd
chroot /host
java ${JAVA_OPTS} -jar /wdd/agent.jar
# copy jar to /host
# change the root working dir and use the host jvm to run the jar-file
scp -r /wdd /host/wdd && chroot /host java ${JAVA_OPTS} -jar /wdd/agent.jar