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

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

depend()
{
	need localmount net
	after bootmisc
}

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