Point other upstart jobs at our Mir socket explicitly, instead of explicitly
commit9b59de04821963c940b142020ad0f30319daffe5
authorMichael Terry <michael.terry@canonical.com>
dateTue 12 Nov 2013, 19:37 (13 years ago)
parentb097fab
data/unity8.conf+7−1
@@ -6,4 +6,10 @@ stop on desktop-end
66
77respawn
88
9−exec ${BINARY:-unity8} $ARGS
9+script
10+ # Point all future jobs in this session to our Mir socket instead of
11+ # unity-system-compositor's socket.
12+ export MIR_SERVER_FILE=$XDG_RUNTIME_DIR/mir_socket
13+ initctl set-env MIR_SOCKET=$MIR_SERVER_FILE
14+ ${BINARY:-unity8} $ARGS
15+end script