confounded

This commit is contained in:
SpudGunMan
2025-10-23 22:09:34 -07:00
parent d883927572
commit ccb505f37f
3 changed files with 3 additions and 4 deletions
-3
View File
@@ -1,3 +0,0 @@
[interface]
type = tcp
hostname = localhost:4403
+2 -1
View File
@@ -2,7 +2,8 @@
# if no config.ini exists, copy the default one
if [ ! -f /app/config.ini ]; then
cp /app/script/docker/config.template /app/config.ini
cp script/docker/config.template script/docker/config.ini
sed -i '' -e '/^\[interface\]/,/^[^[]/ s/type = .*/type = tcp/' -e '/^\[interface\]/,/^[^[]/ s/hostname = .*/hostname = localhost:4403/' script/docker/config.ini
fi
# Run the bot as appuser (if you want to drop privileges)