view scripts/dbus/dbus-launch.sh @ 104:b59491821a8a

docker (libervia_cont): added a "stats" command for containers resources usage statistics
author Goffi <goffi@goffi.org>
date Sat, 27 Feb 2016 00:45:58 +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