aboutsummaryrefslogtreecommitdiff
path: root/init.d.misc/dbus.in
blob: 445ee408f17c883b9e821706ce29424948900d7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!@PREFIX@/sbin/runscript
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. 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)
}