view docker/base/scripts/sat @ 114:14b29b9e06bb

docker (prosody): fixed prosodyctl call in container_server: it was not using absolute path, so it was calling /usr/local/bin/prosodyctl instead of /usr/bin/prosodyctl, resulting in a loop
author Goffi <goffi@goffi.org>
date Tue, 01 Mar 2016 15:47:02 +0100
parents b69056368901
children d0a5db5b9bdf
line wrap: on
line source

#!/bin/sh
# account domain is set, then sat is launched with D-Bus activated
chmod a+w /etc/hosts
su -c "set_account_domain && dbus-launch /usr/bin/sat $@" sat