feat: Fix permission and env errors, add loggings, socket perm args

This commit is contained in:
GW_MC
2025-12-21 18:52:26 +08:00
parent 7781878c2d
commit b823fe6281
3 changed files with 75 additions and 25 deletions

View File

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