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

ahbot.conf is being looked for in /etc/conf instead of /etc/mangos/conf #17

Closed
camjbakke opened this issue Mar 22, 2019 · 1 comment
Closed

Comments

@camjbakke
Copy link

ahbot is using a relative path of ../conf/ahbot.conf

The problem is that it is executing from /etc/mangos and this should probably be at ./conf/ahbot (single .)

I volume mounted my ahbot.conf into /etc/conf/ahbot.conf to prove this out and it worked great.

@StephenSorriaux
Copy link
Owner

Hi,

Yes you are right, for some reason the default path is defined to ../${CONFIG_DIR}/ahbot.conf (see https://github.com/mangoszero/server/blob/6b0e4a7228da6f609323b01871ddb9dc3ac86fcc/src/shared/SystemConfig.h.in#L100)

I just noticed that I did a mistake in the README.md file (but not in the Docker hub description...), I recommend to mount your ahbot.conf on /mangosconf/ahbot.conf so that I set the path properly.

Thanks for reporting, the README.md file just need to be updated.

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

No branches or pull requests

2 participants