-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Kill orphan epmd
after ejabberdctl ping
#4327
base: master
Are you sure you want to change the base?
Conversation
"confirm that ejabberd is stop"? there's exactly a command to do that, On the other hand, Why do you use |
@badlop I use |
I'm sorry, I don't understand what benefit I'm trying to understand the reason for using one method instead of the other, maybe there is some change that would improve On the other hand, you may want to consider dropping epmd completely: did you know ejabberd can be started and administered without using epmd at all? Just enable
Do you mean this is your personal script? Or are you preparing changes for the OpenBSD upstream pakage? |
@badlop let me rephase my phrase. The rc script for OpenBSD looks like:
When someone calls The rc system relays on Current script works well, with one exception it leaves orphan |
Aha, now I understand the situation thanks! Your script uses Is it reasonable to assume that some other people, instead of Alternatively, if you are worried about leaving epmd running, you could try my previous suggestion: don't use epmd at all:
If you setup the option |
What seems resanable, because each command my run
Yep, this is current solution. But I've switched to it not because I'm worried about running Here different point: epmd may be run as system services, and BTW, feel free to close this PR if you think that here no need for this changes. |
Here a trivial changes that cleanup an orphan
epmd
afterejabberdctl ping
which migth be used inside some scripts to confirm that ejabberd is stop.