view scripts/dbus/dbus-launch.sh @ 107:470dafe3f5b6

docker (prosody): switched to prosody-trunk, as it is currently more stable than prosody-0.10
author Goffi <goffi@goffi.org>
date Sun, 28 Feb 2016 15:18:55 +0100
parents 703a394b9780
children
line wrap: on
line source

#!/bin/sh

DBUS_PATH="/tmp/.dbus.`whoami`"

if [ ! -e $DBUS_PATH ]; then
	dbus-launch --sh-syntax > $DBUS_PATH
	chmod 400 $DBUS_PATH
fi

cat $DBUS_PATH