view scripts/dbus/dbus-launch.sh @ 98:349cbfea2596

docker (prosody): restored logs in /var/log + info logs to console
author Goffi <goffi@goffi.org>
date Fri, 26 Feb 2016 16:09:01 +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