Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker fails to create default config #80

Open
vorpalhex opened this issue Aug 12, 2024 · 1 comment · Fixed by jakern/TC2-BBS-mesh#1 · May be fixed by #100
Open

Docker fails to create default config #80

vorpalhex opened this issue Aug 12, 2024 · 1 comment · Fixed by jakern/TC2-BBS-mesh#1 · May be fixed by #100

Comments

@vorpalhex
Copy link

I think this is the same RCA as #78

Somewhere along the line config.ini became example_config.ini which broke https://github.com/TheCommsChannel/TC2-BBS-mesh/blob/main/docker/configini.sh#L3

@backcountryinfosec
Copy link

I just edited the configini.sh and re-built the container after adjusting it to the following:

#!/bin/sh
if [ ! -f "/config/config.ini" ]; then
    cp "/TC2-BBS-mesh/example_config.ini" "/config/config.ini"
fi
if [ ! -f "/config/fortunes.txt" ]; then
    cp "/TC2-BBS-mesh/fortunes.txt" "/config/fortunes.txt"
fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants