Rename claude-agent to lxc171-claude-agent with full setup documentation
- Rename proxmox/claude-agent/ to proxmox/lxc171-claude-agent/ - Move scripts to scripts/ subdirectory - Add complete installation guide for new LXC from scratch - Update proxmox/README.md with LXC 171 documentation and navigation - Add LXC 171 to containers table - Remove .serena/project.yml Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
17
proxmox/lxc171-claude-agent/scripts/start-agent.sh
Normal file
17
proxmox/lxc171-claude-agent/scripts/start-agent.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
# Start or attach to Claude agent tmux session
|
||||
|
||||
SESSION_NAME="agent"
|
||||
|
||||
# Load nvm
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||
|
||||
# Check if session exists
|
||||
if tmux has-session -t $SESSION_NAME 2>/dev/null; then
|
||||
echo "Attaching to existing session: $SESSION_NAME"
|
||||
tmux attach-session -t $SESSION_NAME
|
||||
else
|
||||
echo "Creating new session: $SESSION_NAME"
|
||||
tmux new-session -s $SESSION_NAME -c /workspace
|
||||
fi
|
||||
Reference in New Issue
Block a user