mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
check_start must grep processes for nodename last
This commit is contained in:
parent
d34dab4822
commit
722fdd6bc7
@ -352,7 +352,7 @@ stop_epmd()
|
|||||||
check_start()
|
check_start()
|
||||||
{
|
{
|
||||||
epmd -names | grep -q $NODE && {
|
epmd -names | grep -q $NODE && {
|
||||||
ps ux | grep -q $ERLANG_NODE | grep -v grep && {
|
ps ux | grep -v grep | grep -q $ERLANG_NODE && {
|
||||||
echo "ejabberd is already running."
|
echo "ejabberd is already running."
|
||||||
exit 4
|
exit 4
|
||||||
} || {
|
} || {
|
||||||
|
Loading…
Reference in New Issue
Block a user