Fix config path lookup #139

Merged
floatingghost merged 2 commits from norm/akkoma:fix/config-path into develop 2022-08-03 10:52:21 +00:00

2 commits

Author SHA1 Message Date
3f4c9fc2ba
Update config path error message 2022-08-02 22:11:05 -04:00
f41b84b989
Fix config path lookup
Some checks are pending
ci/woodpecker/pr/woodpecker Pipeline is pending
While I was attempting to set up an Akkoma instance using the OTP build,
I noticed that it was falling back to using `/etc/pleroma` instead of
`/etc/akkoma` for the config path.

As the `config.exs` file doesn't exist prior to running
`pleroma_ctl instance gen`, it tries to write to
`/etc/pleroma/config.exs` but the directory doesn't exist when following
the OTP install guide, so the config generation fails.

This patch should hopefully fix that.
2022-08-02 21:57:52 -04:00