Skip to content

Commit

Permalink
Update software container config
Browse files Browse the repository at this point in the history
Updated the gateway config and environment
variable for application inside the container to
access the session dbus on host to communicate
with the neptune3 ui on the host.

Signed-off-by: Tariq Ansari <tansari@luxoft.com>
  • Loading branch information
TSAnsari committed Nov 1, 2018
1 parent e630373 commit e7a7f29
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Expand Up @@ -8,6 +8,14 @@
"id": "dbus",
"config": [
{
"dbus-gateway-config-session": [
{
"direction": "*",
"interface": "*",
"object-path": "*",
"method": "*"
}
],
"dbus-gateway-config-system": [
{
"direction": "*",
Expand Down
Expand Up @@ -8,6 +8,7 @@ Type=dbus
BusName=com.pelagicore.SoftwareContainerAgent
ExecStart=/usr/bin/softwarecontainer-agent
Environment=XDG_RUNTIME_DIR=/tmp
Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/root/dbus/user_bus_socket

[Install]
WantedBy=basic.target

0 comments on commit e7a7f29

Please sign in to comment.