diff --git a/pkg.info b/pkg.info index 6a98352..696fde0 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: dbus description: Freedesktop.org message bus system version: 1.16.2 -revision: 2 +revision: 3 url: https://www.freedesktop.org/wiki/Software/dbus license: AFL2.1 or GPL2-or-later architecture: any diff --git a/source-files/dbus.esv b/source-files/dbus.esv index bcff14c..6aac35d 100644 --- a/source-files/dbus.esv +++ b/source-files/dbus.esv @@ -4,3 +4,4 @@ type: background start_cmd: /etc/esvm/scripts/dbus.sh exit_method: kill restart: true +ready_fd: 3 diff --git a/source-files/dbus.sh b/source-files/dbus.sh index 19d6b7f..7fb9448 100644 --- a/source-files/dbus.sh +++ b/source-files/dbus.sh @@ -1,5 +1,6 @@ #!/bin/sh -[ -d /run/dbus ] || install -d /run/dbus +[ -d /run/dbus ] && rm -r /run/dbus +install -d /run/dbus -exec /usr/bin/dbus-daemon --system --nofork +exec /usr/bin/dbus-daemon --system --nofork --print-address 3