Skip to content

Commit 9487707

Browse files
authored
Merge pull request #25 from EoghanOConnor/SessionEnd
Shutdown hook: Terminate jumpbox tunnel
2 parents c5a9de8 + 196e74d commit 9487707

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.claude/settings.example.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@
4949
}
5050
]
5151
}
52+
],
53+
"SessionEnd": [
54+
{
55+
"hooks": [
56+
{
57+
"type": "command",
58+
"command": "pkill -f \"ssh.*-L.*$MLFLOW_PORT.*localhost:5000.*$JUMPBOX_URI\" 2>/dev/null || true"
59+
}
60+
]
61+
}
5262
]
5363
}
5464
}

0 commit comments

Comments
 (0)