i never enjoy docker
This commit is contained in:
SpudGunMan
2025-10-23 21:26:32 -07:00
parent a36f1580b3
commit c6b5a1c708
2 changed files with 2 additions and 11 deletions

View File

@@ -1,13 +1,4 @@
#!/bin/bash
# if /app/logs is not writable, change ownership
if [ -w /app/logs ]; then
chown -R appuser:appuser /app/logs
fi
# if /app/data is not writable, change ownership
if [ -w /app/data ]; then
chown -R appuser:appuser /app/data
fi
# Run the bot as appuser (if you want to drop privileges)
exec python /app/mesh_bot.py