annotate docker/base/scripts/sat @ 112:a573bddf8039

docker (libervia_cont): put container used for maintenance in a variable
author Goffi <goffi@goffi.org>
date Mon, 29 Feb 2016 22:01:02 +0100
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