Skip to content
Snippets Groups Projects
Commit 37d8cee8 authored by Leo's avatar Leo Committed by Natanael Copa
Browse files

main/dbus: run dbus-daemon with supervise-daemon

parent 2bcd4802
No related branches found
No related tags found
No related merge requests found
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dbus pkgname=dbus
pkgver=1.12.16 pkgver=1.12.16
pkgrel=0 pkgrel=1
pkgdesc="Freedesktop.org message bus system" pkgdesc="Freedesktop.org message bus system"
options="!check" # Introduces circular dependency with xorg-server (xvfb-run -> xvfb) options="!check" # Introduces circular dependency with xorg-server (xvfb-run -> xvfb)
url="https://www.freedesktop.org/Software/dbus" url="https://www.freedesktop.org/Software/dbus"
...@@ -74,4 +74,4 @@ x11() { ...@@ -74,4 +74,4 @@ x11() {
} }
sha512sums="27ae805170e9515a8bb0fba5f29d414edc70e3b6b28b7b65bbea47035b8eafa9ac4820cdc92645be6035f6748f8aa45679e1ffc84ba74a64859a3056d318b9bb dbus-1.12.16.tar.gz sha512sums="27ae805170e9515a8bb0fba5f29d414edc70e3b6b28b7b65bbea47035b8eafa9ac4820cdc92645be6035f6748f8aa45679e1ffc84ba74a64859a3056d318b9bb dbus-1.12.16.tar.gz
f3d924e0f0fdced39f0470fac362834acf9f346acdfadbcdf44f627a1b550a69d1d04b3760ff06dc86a7335824f48d3c1faa09a17071e08731705a5fb016a155 dbus.initd" 4c6beba2382416e60a3adfa85ef843d90d93ca5f38c23f573e058ffca6d4fc3850d11d40938c74383bba61599569b7fdfb1fcf3b9d2f1463e6b2e2cc81097c84 dbus.initd"
...@@ -2,12 +2,16 @@ ...@@ -2,12 +2,16 @@
# Copyright 1999-2016 Gentoo Foundation # Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later # Distributed under the terms of the GNU General Public License, v2 or later
extra_started_commands="reload" supervisor=supervise-daemon
name="System Message Bus"
description="D-Bus System Message Bus"
description="D-BUS system messagebus"
pidfile="/var/run/dbus.pid"
command="/usr/bin/dbus-daemon" command="/usr/bin/dbus-daemon"
command_args="--system" command_args="--system"
command_args_foreground="--nofork"
extra_started_commands="reload"
depend() { depend() {
need localmount need localmount
...@@ -26,7 +30,7 @@ stop_post() { ...@@ -26,7 +30,7 @@ stop_post() {
} }
reload() { reload() {
ebegin "Reloading D-BUS messagebus config" ebegin "Reloading $name configuration"
/usr/bin/dbus-send --print-reply --system --type=method_call \ /usr/bin/dbus-send --print-reply --system --type=method_call \
--dest=org.freedesktop.DBus \ --dest=org.freedesktop.DBus \
/ org.freedesktop.DBus.ReloadConfig > /dev/null / org.freedesktop.DBus.ReloadConfig > /dev/null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment