aboutsummaryrefslogtreecommitdiffstats
path: root/main/dbus
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-26 13:43:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-26 13:43:32 +0000
commit7e7b4c5d84dba03fa2cd9aa4f40e4bb5a72c66fb (patch)
tree4e4001560b9fafacac093eb6210cbae70f8af4c7 /main/dbus
parentcf0062f18278b078a2132e2ba17f3a74e7dcfc34 (diff)
downloadaports-7e7b4c5d84dba03fa2cd9aa4f40e4bb5a72c66fb.tar.bz2
aports-7e7b4c5d84dba03fa2cd9aa4f40e4bb5a72c66fb.tar.xz
main/dbus: add trigger for reloading config
Diffstat (limited to 'main/dbus')
-rw-r--r--main/dbus/APKBUILD3
-rw-r--r--main/dbus/dbus.trigger4
2 files changed, 6 insertions, 1 deletions
diff --git a/main/dbus/APKBUILD b/main/dbus/APKBUILD
index 78bc247ab9..da7f059e4a 100644
--- a/main/dbus/APKBUILD
+++ b/main/dbus/APKBUILD
@@ -1,13 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dbus
pkgver=1.4.1
-pkgrel=0
+pkgrel=1
pkgdesc="Freedesktop.org message bus system"
url="http://www.freedesktop.org/Software/dbus"
pkggroups="messagebus"
arch="x86 x86_64"
license="GPL custom"
subpackages="$pkgname-dev $pkgname-doc"
+triggers="$pkgname.trigger:/etc/dbus-1/system.d"
depends=
makedepends="expat-dev libx11-dev pkgconfig util-linux-ng-dev"
depends_dev="util-linux-ng-dev"
diff --git a/main/dbus/dbus.trigger b/main/dbus/dbus.trigger
new file mode 100644
index 0000000000..a537bd8dfc
--- /dev/null
+++ b/main/dbus/dbus.trigger
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+dbus-send --system --type=method_call --dest=org.freedesktop.DBus / \
+ org.freedesktop.DBUS.ReloadConfig >/dev/null 2>&1 || :