L
L
lamazavr2016-05-01 10:43:35
linux
lamazavr, 2016-05-01 10:43:35

How to run dbus-launch correctly?

There are 2 nodejs applications available. One is a dbus service, the other is a client.
I run them from the init script. Before starting, I start dbus:

if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] && type dbus-launch >/dev/null; then
    eval $(dbus-launch --sh-syntax --exit-with-session)
  fi

Accordingly, a separate daemon is launched for each application and they do not see each other.
How to run one daemon for all?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question