feat: support resin2 agent shell

This commit is contained in:
ReaJason
2026-02-08 20:44:00 +08:00
parent 9213b9365e
commit 5ddbca566e
3 changed files with 38 additions and 21 deletions
@@ -0,0 +1,11 @@
services:
resin2117:
image: reajason/resin:2.1.17-jdk6
container_name: resin2117
ports:
- "8080:8080"
- "5005:5005"
environment:
JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
volumes:
- ../../../vul/vul-webapp/build/libs/vul-webapp.war:/usr/local/resin2/webapps/app.war
+1 -1
View File
@@ -1,2 +1,2 @@
#!/bin/bash
pgrep -f Resin | tr -d '\n'
pgrep -f 'Resin|-Dresin' | tr -d '\n'