mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-03-28 17:32:36 +01:00
Update entrypoint.sh
This commit is contained in:
@@ -10,7 +10,7 @@ if [ ! -f /app/config.ini ]; then
|
||||
# Remove any commented or uncommented hostname lines in [interface]
|
||||
sed -i '/^\[interface\]/,/^[^[]/ s/^#\? *hostname = .*$//' /app/config.ini
|
||||
# Add hostname = meshtasticd:4403 after [interface]
|
||||
sed -i '/^\[interface\]/a hostname = meshtasticd:4403' /app/config.ini
|
||||
sed -i '/^\[interface\]/a hostname = UPDATE-DOCKER-IP' /app/config.ini
|
||||
fi
|
||||
# Run the bot as appuser (if you want to drop privileges)
|
||||
exec python /app/mesh_bot.py
|
||||
|
||||
Reference in New Issue
Block a user