annotate docker/base/scripts/sat @ 111:a3f9cfa2721e

docker (libervia_cont): workaround for copying config when Docker version is below 1.8.0
author Goffi <goffi@goffi.org>
date Mon, 29 Feb 2016 21:54:43 +0100 (2016-02-29)
parents b69056368901
children d0a5db5b9bdf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
105
b69056368901 docker: images optimisation:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 #!/bin/sh
b69056368901 docker: images optimisation:
Goffi <goffi@goffi.org>
parents:
diff changeset
2 # account domain is set, then sat is launched with D-Bus activated
b69056368901 docker: images optimisation:
Goffi <goffi@goffi.org>
parents:
diff changeset
3 chmod a+w /etc/hosts
b69056368901 docker: images optimisation:
Goffi <goffi@goffi.org>
parents:
diff changeset
4 su -c "set_account_domain && dbus-launch /usr/bin/sat $@" sat