void-packages/srcpkgs/dbus/files/dbus.rc
Juan RP 8f2c12b8cf dbus: remove name assignment in rc script, bumprev.
--HG--
extra : convert_revision : b588a73ab5a4efd09f75a3055e21444ce483aef1
2009-11-30 20:52:06 +01:00

22 lines
300 B
Text

#!/sbin/runscript
command=/usr/bin/dbus-daemon
pidfile=/var/run/dbus/pid
: ${command_args:=--system}
depend()
{
need localmount net
after bootmisc
}
start_pre()
{
dir=$(dirname $pidfile)
if [ ! -d $dir ]; then
mkdir $dir
chmod 0755 $dir
chown dbus:dbus $dir
fi
dbus-uuidgen --ensure
}