feat: add nix dependency and enhance socket permissions handling

This commit is contained in:
GW_MC
2025-12-21 19:32:48 +08:00
parent b823fe6281
commit 61ecd91219
6 changed files with 129 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/sh
# Run the agent as the unprivileged 'app' user
# Run the agent as the unprivileged 'yanpm-agent' user
cd /app
echo "Starting yanpm-agent..."
exec s6-setuidgid app ./yanpm-agent
exec s6-setuidgid yanpm-agent ./yanpm-agent