on xenial help sign in
Point other upstart jobs at our Mir socket explicitly, instead of explicitly
9b59de0Michael Terry
data/unity8.conf+7−1
@@ -6,4 +6,10 @@ stop on desktop-end
6
6
7respawn
7respawn
8
8
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
9−exec ${BINARY:-unity8} $ARGS
14+ ${BINARY:-unity8} $ARGS
15+end script