openbsd-ports/x11/dbus/pkg/dbus_daemon.rc
ajacoutot 4f3d0498f5 There seems to be an annoying runtime regression with session bus after
the last update which I failed to see in my tests.
While this is being worked on, let's revert for now so that people don't
run into it. Other parts of the D-DBus gang update are fine (glib and
python). Also keep the recent rc script tweak.

Sorry about that...
2010-12-16 07:13:58 +00:00

16 lines
260 B
Bash
Executable File

#!/bin/sh
#
# $OpenBSD: dbus_daemon.rc,v 1.5 2010/12/16 07:13:59 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/dbus-daemon"
daemon_flags="--system"
rc_pre() {
rm -f /var/run/dbus/pid
install -d -o _dbus -g _dbus /var/run/dbus
}
rc_cmd $1