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

move spool dir to make it fully configurable per ejabberdctl.cfg #3863

Merged
merged 1 commit into from
Oct 26, 2022

Conversation

duritong
Copy link
Contributor

In the packaged rpm the spool dir is set to:

: "${SPOOL_DIR:="/opt/ejabberd/database/$ERLANG_NODE"}"

However, $ERLANG_NODE is effectively set later (now in line 67), which effectively makes spool dir always in ...../ejabberd@localhost

In the packaged rpm the spool dir is set to:
```
: "${SPOOL_DIR:="/opt/ejabberd/database/$ERLANG_NODE"}"
```

However, `$ERLANG_NODE` is effectively set later (now in line 67), which effectively makes spool dir always in `...../ejabberd@localhost`
@p1bot
Copy link
Collaborator

p1bot commented Jul 18, 2022

Hi @duritong, many thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes.

@p1bot p1bot added the cla-missing Contributor needs to sign Contribution License Agreement label Jul 18, 2022
@p1bot
Copy link
Collaborator

p1bot commented Jul 18, 2022

You did it @duritong!

Thank you for signing the ProcessOne Contribution License Agreement.

We will have a look at your contribution!

@p1bot p1bot removed the cla-missing Contributor needs to sign Contribution License Agreement label Jul 18, 2022
@weiss
Copy link
Member

weiss commented Jul 18, 2022

Good catch, thanks.

Yes this should be fixed, I'm just a little unsure whether it might make sense to move CONFIG_DIR and LOGS_DIR down as well, for consistency/cosmetics. The only behavior change I'd see is that you cannot do LOGS_DIR="$LOGS_DIR/subdir" in ejabberdctl.cfg then, which seems uninteresting. But I'd need another coffee to be sure.

@weiss weiss self-assigned this Aug 10, 2022
@prefiks prefiks merged commit 122af79 into processone:master Oct 26, 2022
@badlop badlop added this to the ejabberd 22.xx milestone Oct 26, 2022
badlop added a commit to badlop/ejabberd that referenced this pull request Feb 9, 2024
move spool dir to make it fully configurable per ejabberdctl.cfg (processone#3863)
badlop added a commit to badlop/ejabberd that referenced this pull request Feb 9, 2024
move spool dir to make it fully configurable per ejabberdctl.cfg (processone#3863)
badlop added a commit that referenced this pull request Feb 9, 2024
move spool dir to make it fully configurable per ejabberdctl.cfg (#3863)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants