mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-07 01:13:14 +02:00
confounded
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
[interface]
|
||||
type = tcp
|
||||
hostname = localhost:4403
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user