aboutsummaryrefslogtreecommitdiff
path: root/init.d.misc/dbus.in
blob: 525985349d06c5f86c205a244e4fcc6dd92737f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!@SBINDIR@/openrc-run
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.

command=@PKG_PREFIX@/bin/dbus-daemon
pidfile=@VARBASE@/run/dbus/pid
command_args="${dbusd_args---system}"
name="Message Bus Daemon"

depend()
{
	need localmount net
	after bootmisc
}

start_pre()
{
	mkdir -p $(dirname $pidfile)
}